0.9.0: model graph with queries #27

Merged
root-at-skic merged 10 commits from feat/model-graph into main 2026-10-21 13:08:36 -07:00
Owner

The whole model as one graph with a query box, a side panel and PNG export. Switch on main.archify and on diagram pages; command Archify | Open Model Graph. Unit tests for the graph and the queries; integration check for the command. Screenshots: ws-storm/2026-10-20-model-graph-view/build/.

The whole model as one graph with a query box, a side panel and PNG export. Switch on main.archify and on diagram pages; command Archify | Open Model Graph. Unit tests for the graph and the queries; integration check for the command. Screenshots: ws-storm/2026-10-20-model-graph-view/build/.
root-at-skic added 1 commit 2026-10-21 05:47:04 -07:00
- Model | Graph switch on main.archify (Diagram | Graph on diagram pages, narrowed to that diagram)
- union graph of every element and connection, registry and inline, built from the model index
- query box: text, type:, diagram:, decision:, uses:, near:, from: to:, unused, shared, -shared
- side panel per element and connection with diagrams, registry line and decisions one click away
- legend chips, Fit, Layout, Labels, Export PNG; Cytoscape.js bundled as dist/graph.js
- command Archify | Open Model Graph; integration check; unit tests for graph and queries
root-at-skic added 1 commit 2026-10-21 10:46:08 -07:00
- one node per decision (tag coloured by status) with decides links to its elements and supersedes links
- one node per registry file with defines links to its elements
- own legend chips, side panels (Open decision, Open registry), type:decision and type:registry
- walks and paths follow the diagrams' connections only; attached nodes follow their elements into a result
root-at-skic added 1 commit 2026-10-21 11:33:41 -07:00
- sun/moon button next to Export; the choice is remembered in the page state and written to the archify-theme key the diagram pages use
- explicit dark and light token sets; without a choice the page follows VS Code's theme as before
- Cytoscape restyles from the page tokens whenever the theme changes
root-at-skic added 1 commit 2026-10-21 11:45:44 -07:00
- layered layout by type (clients left, data right), empty columns left out, barycenter row ordering; registries in a row above, decisions in a row below; Force layout as the alternative
- orthogonal connections with labels staggered next to their source; opaque tinted nodes hide lines behind them
- hover glow on elements and their connections; decision and registry links show for the selected element or all with Links
root-at-skic added 1 commit 2026-10-21 11:47:11 -07:00
root-at-skic added 1 commit 2026-10-21 11:55:27 -07:00
- Archify's theme toggle: pill track, sliding knob, masked sun/moon icon
- buttons as quiet 0.5rem pills inside 0.5625rem controls, pressed state like Archify's, Export PNG as the filled 0.6875rem primary
- Model | Graph switch styled as the 2D | 3D switch's twin
root-at-skic added 1 commit 2026-10-21 12:03:42 -07:00
root-at-skic added 1 commit 2026-10-21 12:33:05 -07:00
root-at-skic added 1 commit 2026-10-21 12:39:32 -07:00
root-at-skic added 1 commit 2026-10-21 12:47:43 -07:00
root-at-skic merged commit 058c0d17a8 into main 2026-10-21 13:08:36 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vscode-extensions/archify-vscode-ext#27