Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commita26cdab9a3

README.md

proc.emit

A Graph written back as the Luau that builds it. source(graph, { header? }) renders a call-form graph as proc.define(function(g) ... end) and a graph of g:node calls as the function that fills proc.graph(id): declared inputs first, then each node in dependency order with its wiring, then the graph's outputs. openingComment(source) answers the comment a source opens with. proc.emit and proc.saveSource call it, so a graph a tool restructures lands back in its asset as source an author reads and edits.

Part of @builtin::systems.procgen.proc; required as @builtin::systems.procgen.proc.emit.