SVG Output
SVG output is suitable for previews, documentation, and web publishing.
xaligo render diagram.xal --format svg -o diagram.svg
With --services, SVG can draw a legend:
xaligo render diagram.xal --format svg -o diagram.svg \
--services services.csv \
--svg-legend-position bottom
SVG rendering uses the shared orthogonal router and includes:
- Route and traffic layer ordering.
- Line-jump masks at interior crossings.
- Automatic junction markers for shared route endpoints.
- Expanded canvas/viewBox bounds for connector paths and markers.
- Service legends when metadata is provided.