graphlisted
Install: claude install-skill geronimo-iia/llm-wiki-skills
# Graph
The concept graph is built from the tantivy index — no file reads.
Nodes are typed (by page `type`), edges are labeled (by `x-graph-edges`
relation declarations in type schemas).
Edges come from two sources:
- Frontmatter fields (`sources`, `concepts`, `document_refs`,
`superseded_by`) — typed edges with relation labels
- Body `[[wikilinks]]` — generic `links-to` edges
Only pages that exist in the index are included. Broken references
are silently skipped.
## Edge system
The same frontmatter field has different relation labels depending on
the page type. The engine reads `x-graph-edges` from the type's JSON
Schema to determine the label.
| Page type | Field | Relation | Target types |
|-----------|-------|----------|--------------|
| concept | `sources` | `fed-by` | All source types |
| concept | `concepts` | `depends-on` | `concept` |
| source types | `sources` | `cites` | All source types |
| source types | `concepts` | `informs` | `concept` |
| doc | `sources` | `informed-by` | All source types |
| skill | `document_refs` | `documented-by` | `doc` |
| any | `superseded_by` | `superseded-by` | Any |
| any | `[[wikilinks]]` | `links-to` | Any |
Edge target type constraints are declared in `x-graph-edges` via
`target_types`. The engine warns at ingest when an edge target has
the wrong type.
## Generate the graph
```
wiki_graph()
```
Output format is `mermaid` (default), `dot`, or `llms`:
```
wiki_graph(format: "mermaid")
wiki_graph(format: "dot")
wiki_gra