Library lineage graph
library_lineage_graphRead-only
Generates a lineage graph from TouchDesigner vault library by scanning categories for parent_recipe, remix_of, and forked_from frontmatter. Outputs JSON, Mermaid, or DOT.
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
TableJSON 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. |