Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Line

Render

xaligo render <file.xal> --format <format> -o <output>

Supported formats:

FormatOutput
excalidrawEditable Excalidraw JSON
svgStandalone SVG
pptxPowerPoint presentation
xyflowReact Flow / XYFlow JSON
isoflowIsoflow-compatible model JSON

Common render flags:

FlagDescription
`--mode standardnetwork
`--theme lightdark`
--services <csv>Service metadata and label overrides
`--svg-legend-position topright

PPTX-specific flags:

FlagDescription
`--paper A5A4
`--orientation portraitlandscape`
--paper-margin <inches>Margin applied before fitting
--paper-margin-top/right/bottom/left <inches>Per-side margin override
--px-per-inch <number>Layout scaling base
--title, --author, --company, --subjectPresentation metadata
`--compression truefalse`

Generate

Generate a starter .xal hierarchy:

xaligo generate xal -o generated.xal --paper A4 --orientation landscape

Useful generation flags:

FlagDescription
--clouds, --accounts, --regions, --azsAWS hierarchy counts
`--az-layout gridstaggered`
--subnetsNumber of subnets
`--spacing verticalhorizontal
`--start topleft`

Other Commands

CommandDescription
xaligo validate <file.xal>Validate syntax, layout, and connection references
xaligo serve <file.xal>Serve an SVG live preview
xaligo add service --name <name> --file <file>Add a service icon
xaligo add service --list <csv> --file <file>Bulk-add service icons
xaligo init [-o <dir>]Generate a sample .xal file
xaligo versionPrint version