How to show all notes related to active pane, rendered as graph, with hierarchy, from closest to farest?

what I want to do

  • a hierarchical graph showing how local notes are related to each other, with flowchart logic.

explaination

local graph (core plugin: graph) can show notes related to active pane from closest to farest, which is great.
Anyone know how to utilize it with dataview field to indicate hierarchy? like show notes related to active pane but with direction, e.g.up-to-bottom, from parent to child.

Thanks,