Preview drafts, write focused C# changes, and stay safe when source moves.
Build + UnderstandUpdated
On this page
Round Trip treats C# as the source of truth. The canvas can hold a draft, but Compile is the explicit moment that draft becomes code. The file is then imported and parsed back so the graph shows what now exists in source.
Compile validates the draft, changes one source span, then rebuilds the graph from C#.
Preview and Compile covers the draft banner and the toolbar Compile, plus undo and save shortcuts.
What gets written explains focused declaration and statement splices, whole-body regeneration, and graph-only configuration.
When Compile refuses lists the source shapes Round Trip names and leaves unchanged.
Edits from outside follows file watching, Unity import, focus checks, and concurrent-edit protection.
4 steps
Code and graph in one loop: the parsed method, the same method after a line was typed into the file, a method drafted in the graph, and that draft compiled into the file.
The important loop is visible: open source as a graph and draft a change. Inspect it before you Compile. Round Trip then returns to parsed source. A refusal does not write a partial answer. It keeps the draft available and the file unchanged.