graphview icon indicating copy to clipboard operation
graphview copied to clipboard

create family tree view using BuchheimWalkerAlgorithm?

Open VengaiMovan opened this issue 3 years ago • 8 comments

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. Screenshot_1630301227

Help me to find out. Thank You!

VengaiMovan avatar Aug 30 '21 05:08 VengaiMovan

This is not possible at the moment sadly.

nabil6391 avatar Sep 22 '21 10:09 nabil6391

@VengaiMovan you can custom a node that included 2 members like that instead of thinking about connecting 2 nodes to 1 node

iamhiutrun avatar Jan 07 '22 02:01 iamhiutrun

Same issue here, please add this feature

NeonPokharkar avatar Feb 13 '22 11:02 NeonPokharkar

Same here, hope this feature will be implemented soon.

martesabt avatar Feb 24 '22 15:02 martesabt

Better to do what @iamhiutrun suggested, as data wise I want to make generic nodes only, without any child or spouse relation

nabil6391 avatar Apr 25 '22 23:04 nabil6391

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;

jander96 avatar Aug 02 '23 19:08 jander96

@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".

Sternbach-Software avatar Jan 05 '24 21:01 Sternbach-Software