chuckzel / cytoscape-tidytree

A Cytoscape.js layout extension for trees
https://chuckzel.github.io/cytoscape-tidytree/
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

DAG support? #1

Open maxkfranz opened 7 months ago

maxkfranz commented 7 months ago

Does this layout currently support DAGs?

chuckzel commented 7 months ago

No, the code currently assumes that every node has a single incoming edge. It should be possible for the user to create a spanning tree from their graph and call the layout on a collection with only the edges in this tree included.

maxkfranz commented 7 months ago

That's what I suspected based on the paper. Thanks for the clarification.