render_architecture
Draw IT architecture diagrams and save as standalone SVGs from text DSL or structured specs. Automatic layout supports multiple styles simultaneously.
Instructions
Draw an IT architecture and save it as a standalone .svg file (optionally in several styles at once). Layout, routing and grouping are automatic - never supply coordinates. Returns the absolute file paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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'. | |
| style | No | Drawing style, see list_styles. Default 'cloud'. | |
| title | No | Overrides the title in dsl/spec. | |
| footer | No | Small caption under the drawing. | |
| legend | No | Draw a category colour legend. | |
| styles | No | Render the same diagram in several styles at once. | |
| filename | No | Base name without extension; defaults to the title. | |
| subtitle | No | ||
| direction | No | Flow direction; LR is the default. | |
| output_dir | No | Where to write. Defaults to $ITARCH_OUTPUT_DIR or ~/architecture-diagrams. | |
| save_source | No | Also write a .arch source file next to the SVG (default true) so the diagram can be edited later. | |
| transparent | No | Omit the background fill. |