Library lineage graph
library_lineage_graphScan your vault library to extract lineage relationships and generate a visual graph in JSON, Mermaid, or DOT format.
Instructions
Read-only, offline tool that scans the vault library (Recipes, Shaders, Presets, Components, Setlists), extracts lineage frontmatter (parent_recipe, source_assets, remix_of, forked_from), and emits a lineage graph. Output as JSON (machine-consumable), Mermaid (paste into docs), or Graphviz DOT. No TouchDesigner connection required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | No | Absolute path override; falls back to TDMCP_VAULT_PATH. | |
| format | No | Output format. | json |
| kinds | No | Categories to scan. 'all' includes every category. | |
| cluster_by | No | Grouping for Mermaid subgraph / DOT cluster. | style_tags |
| include_orphans | No | When false, exclude nodes with no lineage edges. | |
| max_nodes | No | Safety cap on nodes returned. |