Skip to main content

Module editor

Module editor 

Source
Expand description

The composer editor: composer Intents applied to a Graph.

Each composer Intent (create/move/wire/unwire/delete) maps to one or more sim-lib-topology PatchOps and is applied through apply_topology_patch_ops, producing a new Graph. There is no second model: the topology patch engine is the one that mutates topologies. Because the Intent already carries an origin.operator, a human and an agent edit the same topology through the same path; only the recorded operator differs.

Functionsยง

apply_composer_intent
Apply a composer Intent to graph, returning the new graph.