Expand description
Provenance graph rendering (mermaid flowchart).
A one-glance view of where each variable comes from: solid edges point at the winning source, dashed edges at shadowed candidates, dotted edges at interpolation dependencies. Pipe the output into mermaid-cli or any mermaid renderer.
Structural note: mermaid forbids referencing a subgraph’s own id from inside it (“setting X as parent of X would create a cycle”), so all source nodes and edges are emitted after the subgraph blocks close.