edge icon indicating copy to clipboard operation
edge copied to clipboard

Support of non tree structures

Open EdwardDiehl opened this issue 7 years ago • 1 comments

Hi! Thanks for the library! Could someone tell, does the library work only with tree structures or it also supports non tree graphs like here? https://en.wikipedia.org/wiki/Tree_(data_structure)#/media/File:Directed_graph_with_branching_SVG.svg I mean structures with more than one root and multi parent nodes.

EdwardDiehl avatar Feb 23 '18 12:02 EdwardDiehl

It only supports trees. It works with nodes that have a parent_id. So it can only support a single parent.

jackc avatar Feb 23 '18 13:02 jackc