spec-editor Pro is in early access. Request access

spec-editor view

Render the specification as an interactive Mermaid graph in the browser.

Full graph:   spec-editor view
By diagram:   spec-editor view -d <id>
By element:   spec-editor view -e <id>
By aspect:    spec-editor view -a modules

Usage

spec-editor view [OPTIONS]

Options

Option Type Default Description
--path, -p path . Path to project (or SPEC_EDITOR_PROJECT)
--output, -o text Output HTML file (default: temp + open browser)
--diagram, -d text Focus graph on element ID and its connections
--element, -e text Show element content by ID in terminal
--aspect, -a text Show all elements in aspect (e.g. modules)
--json flag Output as JSON