u/Feych

DataviewJS snippet that picks up the first embedded .canvas in the note, parses its graph structure, and turns it into an interactive step-by-step flow, like a clickable decision tree or checklist you can walk through one node at a time.

https://preview.redd.it/aud94mnqkkzg1.png?width=1023&format=png&auto=webp&s=7e94ad4bfaf2093755ec1335bd9062947a56beaa

The active node is also highlighted in the canvas minimap, so you always know where you are visually.

How it works:

  • Reads the canvas JSON, finds the single root node (no incoming edges), and walks the graph from there
  • Single outgoing edge → "Next" button; multiple edges → choice buttons labeled by edge text

Why I find it useful: Canvas is great for mapping out procedures, but clicking through the actual canvas to follow steps is awkward. This keeps the canvas as the source of truth while giving you a clean reading interface.

reddit.com
u/Feych — 16 days ago