Closed sjimbonator closed 3 years ago
Thanks for the detailed info. Will try to have a look
@sjimbonator
The functionality is already there , although not properly documented yet
Just set the graph isTree to true. And it should automatically remove all succesors graph.isTree = true
@nabil6391
Thanks! It works now
Hi when I try to call graph.removeNode() on a node with successors I get the following error:
Should graph.removeNode() be able to handle nodes with successors? Or am I supposed to call removeNode() on all the deepest nodes first and work my way up from there?
I am using the TreeEdgeRenderer inside my GraphView based on the pub.dev example: https://pub.dev/packages/graphview#usage
Here is my code in case this is a bug instead of improper usage of removeNode() on my part.
This is my initState method:
This is my Build method:
And this is my OrganisationCard widget that's used inside the Nodes: