A directed acyclic graph mermaid visualization of a dependency graph for code changes. The red ones are blocked on validation.
Data Loading State Diagram
An interactive state/flow diagram rendered with Mermaid, with mouse-wheel zoom, drag-to-pan, and on-screen zoom controls.
Features
- Scroll / trackpad zoom — zoom in and out centered on the cursor.
- Drag to pan — click and drag anywhere in the diagram to move around.
- Zoom controls —
+,−, and reset buttons in the bottom-right corner. - No scrollbars — the diagram fills the viewport and overflow is hidden.
- Responsive — the SVG fills the container and scales with the window.
Files
index.html— page entry point, Mermaid/D3 loading, and zoom/pan logic.styles.css— layout, typography, and zoom control styling.diagram.mermaid— the diagram definition.
References
- Visualization 014d81d7d1264b68879fad3a893197e8 — inspiration for the D3 zoom/pan pattern.
MIT Licensed
Comments
Sign in to join the discussion.