sysml-diagram
Generate diagrams from SysML models for documentation and automated workflows.
View package on npm ↗ALIOT CLI / MODELING FROM THE TERMINAL
Validate your models. Export your diagrams. Make both part of your everyday development workflow.
Explore the commands ↓sysml-diagram · sysml-validate
# Check your model
$ npx sysml-validate model.sysml
# Export a diagram
$ npx sysml-diagram export \
--file model.sysml \
--view iv \
--out diagram.svg
GET STARTED / VERIFIED PACKAGE VERSION 0.49.0
Install Node.js 20 or newer. Download aliot-first-model.sysml, then run these commands from its folder.
npx --yes --package=sysml-validate@0.49.0 sysml-validate aliot-first-model.sysml
npx --yes --package=sysml-diagram@0.49.0 sysml-diagram export --file aliot-first-model.sysml --view gv --out model.svgFor a persistent installation:
npm install --global sysml-diagram@0.49.0 sysml-validate@0.49.0
sysml-diagram --version
sysml-validate --versionTWO TOOLS. ONE WORKFLOW.
Generate diagrams from SysML models for documentation and automated workflows.
View package on npm ↗Run model validation from your terminal or CI pipeline and inspect the reported diagnostics.
View package on npm ↗A DEDICATED HOME
Install instructions, command references and CI recipes for both tools. Use the same pinned CLI version across your local environment and build pipeline.