How nepopetro/archify-bridge works
Archify Bridge accepts Archify JSON diagrams, validates them through the official Archify CLI, and converts supported architecture diagrams into Mermaid or draw.io files. The graph shows the documented user workflow and the calls visible in the sampled converters and validator. The tree includes only an architecture example; other diagram-type directories and the vendor submodule are documented but absent from the supplied tree, so their implementation details are not inferred.
Main entry points: example.json Archify JSON IR · validator.js Validator runner · to-drawio.js draw.io converter · to-mermaid.js Mermaid converter
Components 9
Diagram inputs
- Archify JSON IR
src/archify/architecture/example.json
Validation
- Validator runner
src/utils/validator.js - Official Archify CLI
Format conversion
- draw.io converter
src/converters/to-drawio.js - Mermaid converter
src/converters/to-mermaid.js - draw.io export
- Mermaid export
Other components
- Diagram author
- Diagram editors
Connections 9
- Diagram author → Archify JSON IR: writes diagrams
README.md - Archify JSON IR → Validator runner: validated by
README.md - Validator runner → Official Archify CLI: invokes
src/utils/validator.js - Archify JSON IR → draw.io converter: read and converted
src/converters/to-drawio.js - Archify JSON IR → Mermaid converter: read and converted
src/converters/to-mermaid.js - draw.io converter → draw.io export: writes XML
src/converters/to-drawio.js - Mermaid converter → Mermaid export: writes graph
src/converters/to-mermaid.js - draw.io export → Diagram editors: opens in
README.md - Mermaid export → Diagram editors: opens in
README.md