isometric-diagrams Svelte Themes

Isometric Diagrams

An interactive isometric diagram viewer built with Svelte 5 and SvelteKit. Diagrams are described in YAML and rendered as isometric 3-D SVG scenes directly in the browser

Isometric Diagrams

An interactive isometric diagram viewer built with Svelte 5 and SvelteKit. Describe your architecture or data-flow in plain YAML and get a rendered isometric 3-D SVG scene directly in the browser.

πŸ”— Live demo on GitHub Pages


Features

  • 🧊 Isometric SVG rendering β€” colour-coded 3-D boxes for servers, services, databases, queues, warehouses, trucks, and more
  • πŸ“ YAML spec β€” describe your diagram in a simple, human-readable format
  • πŸ”΄ Live editor β€” edit YAML in the sidebar and see the diagram update instantly
  • πŸ—ΊοΈ Node groups / regions β€” highlight logical regions with dashed boundaries
  • πŸ”— Typed edges β€” network, flow, dependency, and data connections with optional labels and arrowheads
  • πŸ–±οΈ Click to inspect β€” click a node to see its metadata
  • πŸŒ™ Dark / light theme β€” built-in theme support

Example diagrams

File Description
networking.yaml Multi-region AWS microservices architecture
warehouse.yaml Cargo flow from port β†’ trucks β†’ warehouse
simple-flow.yaml E-commerce order processing flow
floor-plan.yaml Warehouse floor plan with flat arrows and floor zones

Getting started

# Install dependencies
npm install

# Start the dev server
npm run dev

# Build for production
npm run build

# Preview the production build
npm run preview

Running tests

# Install Playwright browsers (first time only)
npx playwright install chromium

# Run end-to-end tests
npm test

# Open the interactive test UI
npm run test:ui

Deployment

The app is automatically deployed to GitHub Pages via the deploy.yml workflow on every push to main.

A CI workflow (ci.yml) runs type-checking, build, and Playwright tests on every push and pull request.

Contributing

See CONTRIBUTING.md for development setup, project structure, YAML spec reference, and contribution guidelines.

License

MIT Β© Daan Verstraten

Top categories

Loading Svelte Themes