Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite09f1e4457

README.md

proc.edit

Editing a procedural graph as nodes and wires: the picture of a Graph a node editor draws (view), the catalogue of ops a node can be added from (catalogue, search), and every change a person makes to it (addNode, removeNode, connect, disconnect, setParam, and the graph's inputs and outputs: setInput, removeInput, renameInput, updateInput, setOutput, removeOutput, renameOutput). Each change edits the Graph in memory and answers (ok, why?); writing the result into the asset is proc.saveSource. Ports named in:<name> and out:<name> stand for the graph's own inputs and outputs. Node positions are the editor's own and live beside the asset in layout.json (loadLayout, saveLayout).

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