Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of non tree structures #23

Open
EdwardDiehl opened this issue Feb 23, 2018 · 1 comment
Open

Support of non tree structures #23

EdwardDiehl opened this issue Feb 23, 2018 · 1 comment

Comments

@EdwardDiehl
Copy link

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.

@jackc
Copy link
Owner

jackc commented Feb 23, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants