Skip to content

archidocs export

Render a View, or every Saved View, to an SVG or PNG picture.

archidocs export <view-id> [--format svg|png] [--out <file>] [--direction TB|BT|LR|RL] [--theme light|dark] [--label <text>]
archidocs export --all-saved --out <dir> [--format svg|png] [--direction TB|BT|LR|RL] [--theme light|dark] [--label <text>]
Argument Meaning
<view-id> The View: c1, c2, c2/<system>, c3/<service>, deployment/<environment>, or a Saved View as project:view-id.

--format svg|png · Default: svg.

The picture format.

--out <file> · Default: <view-id>.<format> in the current folder.

The file to write; with --all-saved, the folder to write each picture into.

--direction TB|BT|LR|RL · Default: a Saved View’s own direction, else LR.

The layout direction: top to bottom, bottom to top, left to right or right to left. Dynamic Views ignore it.

--all-saved · Off by default.

Render every Saved View into the --out folder, one picture each.

--theme light|dark · Default: light.

The palette: the viewer’s light tokens, or its Night shift dark ones.

--label <text> · Default: the Workspace, short commit and date.

The line under the title, such as Big Bank · v1.2.0, in place of the source line.