Arrange network layout
arrange_networkReposition nodes in a TouchDesigner network into a left-to-right data-flow layout to clean up overlapping or cluttered areas. Optionally arrange nested COMPs recursively. Only moves node positions, no connections changed.
Instructions
Tidy an existing network: reposition a COMP's children into a readable left→right data-flow layout (sources on the left, output on the right). Use this to clean up nodes that are piled on top of each other. Set recursive to also arrange the contents of nested COMPs. Only moves node positions — it never adds, deletes, or rewires nodes. Returns the COMP path and how many nodes were repositioned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | COMP whose children to arrange, e.g. '/project1' or a container path. | |
| recursive | No | Also arrange the nodes inside nested COMPs (each network is tidied on its own). | |
| include_docked | No | Move each node's docked DATs (e.g. GLSL *_pixel or callbacks DATs) with it by the same delta, like an interactive drag. Set false to reposition only the nodes themselves. |