nabil6391 / graphview

Flutter GraphView is used to display data in graph structures. It can display Tree layout, Directed and Layered graph. Useful for Family Tree, Hierarchy View.
MIT License
415 stars 115 forks source link

Support layered family tree representations with parents on the same level #112

Closed arthurshir closed 10 months ago

arthurshir commented 10 months ago

Ex. BuchheimWalkerAlgorithm

Currently, multiple parents results in overlapping nodes.

Ex:

graph.addEdge(node1, node2);
graph.addEdge(node3, node2);

Results in something like this

Screenshot 2023-09-06 at 6 32 24 PM

Ex: SugiyamaAlgorithm

Current Behavior:

Screenshot 2023-09-06 at 6 39 16 PM
arthurshir commented 10 months ago

Closing. Workaround is to do a bottom up configuration and to add a dummy node to represent bottom level siblings

devenderTY commented 2 months ago

"Closing. Workaround is to do a bottom up configuration and to add a dummy node to represent bottom level siblings"

@arthurshir can you please show the code , how you achieved it?

NALAWALAMURTUZA commented 1 month ago

@arthurshir please share code.

arthurshir commented 1 month ago

Thanks for following up. My workaround didn't work unfortunately