convert_notation
Convert and normalize diagrams between compact DSL and JSON spec, enabling editing in either notation.
Instructions
Convert a diagram between the compact DSL and the JSON spec (both directions), normalising it on the way. Useful for editing a diagram that was written in the other notation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target notation. Default 'json'. | |
| dsl | No | Diagram in the it-architecture DSL (preferred). Call get_authoring_guide once to learn it. | |
| spec | No | Structured diagram spec; alternative to 'dsl'. | |
| title | No | Overrides the title in dsl/spec. | |
| subtitle | No | ||
| direction | No | Flow direction; LR is the default. |