graphview
graphview copied to clipboard
create family tree view using BuchheimWalkerAlgorithm?
Hi Brother!,
I'm creating a family tree using BuchheimWalkerAlgorithm, it is possible to get this type of output with separate nodes. Like father mother on the different node but nearest position. Connect from 2 nodes to 1 node.
Help me to find out. Thank You!
This is not possible at the moment sadly.
@VengaiMovan you can custom a node that included 2 members like that instead of thinking about connecting 2 nodes to 1 node
Same issue here, please add this feature
Same here, hope this feature will be implemented soon.
Better to do what @iamhiutrun suggested, as data wise I want to make generic nodes only, without any child or spouse relation
I have same problem here. Imposible connect to parents to one child. I suggest you this solution, you can get similar behavior but level of generations have problems
final treeRender = BuchheimWalkerConfiguration()
..subtreeSeparation = (4)
..orientation = (BuchheimWalkerConfiguration.ORIENTATION_TOP_BOTTOM)
..levelSeparation = (28);
final configuration = SugiyamaConfiguration()
..bendPointShape = MaxCurvedBendPointShape()
..nodeSeparation = (16)
..coordinateAssignment = CoordinateAssignment.Average;
final sugiyama = SugiyamaAlgorithm(configuration,)
..renderer = TreeEdgeRenderer(treeRender)
..graph = graph;
@nabil6391 @iamhiutrun That approach does not solve it, because each spouse has their own tree of ancestors. Even if both spouses were in a single node, that node would still need multiple ancestors (4 grandparents). That approach just "kicks the can down the road".