Interactive HTML visualizations for system architectures and flows from structured JSON data.
This repository packages the arch-flows-visualizer skill originally built for Grok (by xAI). It enables the creation of beautiful, self-contained, browser-based diagrams that show components, connections, selectable flows, and detailed process steps.
- Self-contained single-file HTML — No build step or external dependencies at runtime (uses Tailwind via CDN + Font Awesome)
- Multi-column layout for organizing components (e.g., Actors, Services, Storage, Pipelines)
- Numbered connections between components
- Interactive flows — Click any flow on the sidebar to highlight the exact path through the architecture
- Component highlighting — Click items to see related connections
- Step-by-step explanations panel
- Keyboard support (ESC to clear selections)
- Responsive and presentation-ready
- JSON-driven — Easy to version, edit, and regenerate
arch-flows-visualizer/
├── README.md
├── SKILL.md # Instructions for using as a Grok/xAI skill
├── scripts/
│ └── generate.py # Python generator (produces index.html + architecture-data.json)
└── references/
├── architecture-schema.json
└── example-data.json # Full example (ToDesktop architecture)
-
Clone the repository
git clone https://github.com/matheuscfrade/arch-flows-visualizer.git cd arch-flows-visualizer -
Prepare your data
- Follow the schema in
references/architecture-schema.json - Use
references/example-data.jsonas a reference
- Follow the schema in
-
Generate the visualization
python scripts/generate.py --data references/example-data.json --output ./dist
-
View it Open
dist/index.htmlin any modern browser.
See SKILL.md for detailed instructions on how this skill is invoked by Grok, including how to transform user descriptions into the required JSON format and run the generator.
- Edit your
your-architecture.json - Re-run the generator script
- Refresh the browser
No servers, no bundlers, no friction.
This project is provided as-is for use with Grok and general architecture documentation purposes.
Originally developed as a Grok skill.
Repository maintained by Matheus Frade.