model:graph: the model as one graph with the Graph page's queries; 1.1

- services/graph.mjs builds the union graph (elements, connections, decision and registry nodes) from the loaded model
- queries: text, type:, diagram:, decision:, uses:, near:, from: to:, unused, shared, -shared; walks follow connections only
- task model:graph with --query and --links; three suite checks; SKILL.md task row and gotcha
This commit is contained in:
root-at-skic committed 2026-10-21 23:08:17 +03:00
1 parent 6daf70fef3
commit 887ca973a0
10 files changed
+317 -1

No files matched your search

+7
View File
@@ -30,3 +30,10 @@ tasks:
- |
bash ./.scripts/model/api/model--resolve.sh {{ .CLI_ARGS }}
silent: true
graph:
desc: 'The model as one graph, with queries -- --dir="<model folder or any file inside>" [--query="uses:api"] [--links]'
cmds:
- |
bash ./.scripts/model/api/model--graph.sh {{ .CLI_ARGS }}
silent: true
@@ -0,0 +1,8 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
. ./.scripts/model/lib/--index.sh
_model__model__graph "$@"
@@ -8,3 +8,4 @@
. ./.scripts/model/lib/-model--list.sh
. ./.scripts/model/lib/-model--scaffold.sh
. ./.scripts/model/lib/-model--resolve.sh
. ./.scripts/model/lib/-model--graph.sh
@@ -0,0 +1,9 @@
#!/bin/bash
# -------------------------------------------------------------------------------------
# archify-vscode-ext Agent Skill (MIT)
# -------------------------------------------------------------------------------------
# Runs the "model-graph" action of the Node CLI. Flags are forwarded unchanged.
_model__model__graph() {
_model__node__run --action model-graph "$@"
}