codepod icon indicating copy to clipboard operation
codepod copied to clipboard

Directed autolayout

Open forrestbao opened this issue 2 years ago • 0 comments

In terms of autolayout with directions (either data dependencies, call dependencies, etc.), i think we can borrow the algorithm behind the Mermaid language. According to my experience, it does not work well for cyclical relations. But if just trees, it works good. It even supports subgraphs, which are like our scopes.

One recent example I used

forrestbao avatar Jan 07 '23 19:01 forrestbao