Common node issue

I’m facing a problem when i’m using Family Tree Diagram.
If node appear more than 1 time(with same key), the node with same key will lost connection with its parent
For ex, data = A->B, A->C,B->D,B->E,C->D,C->F, D appear twice, one of the D will lost with its parent.
Anyone know the solution?

That isn’t a tree structure, so if you are using a TreeModel, as the Family Tree sample does, then something has to be lost.

So you should use a GraphLinksModel, as for example Beat Paths does, in order to represent multiple links going into a single node.