Skip to main content
The DSL source is the editable document. Rendering computes a view of that document; Studio connects source edits and visual edits to the same file.

Automatic layout expresses intent

layout describes a pattern and place describes relationships. The solver computes positions when rendering, so changing a part can change the arrangement. The renderer resolves layout on a copy rather than replacing the author’s layout declarations.

A drag expresses a chosen position

When you first move a node in an automatically arranged scope, Studio freezes relevant layout into explicit offsets. A nested group can be frozen independently; root layout may also need freezing to keep it stable. The next render now respects those coordinates. This is why changing a label or adding a node after dragging does not necessarily rearrange the whole scene. Undo restores the preceding source; otherwise restore the relevant layout or place declarations from a saved version and remove conflicting offsets deliberately.

Saving is separate from rendering

A parsed document can still contain validation issues. Autosave is not a guarantee that a diagram is ready to publish. Studio can retain the last good rendered image while the current source needs correction.

Working with an agent and Studio

Use one clearly named source file. Studio polls external changes when its local source is synchronized. Avoid simultaneous edits from multiple writers: this is local file synchronization, not conflict-free collaborative editing. After a human edits in Studio, the agent must reread the saved file before continuing. An earlier tool argument or chat message can contain stale source. Render again when publishing: Studio autosave does not refresh an earlier export directory. Keep the authoring file distinct from the generated topology.yaml copy. Studio guide · Agent workflow