X
X
xpytep2015-11-10 05:12:02
JavaScript
xpytep, 2015-11-10 05:12:02

SVG d3.js + dagre how to merge edge?

Hello) it's already the third week, and I'm still fighting with the family tree, which can have several children, and each of them has several parents. Advice yes, the structure is not like a tree, but a little more complex.
At the moment, it seems to me, almost everything is ready BUT! ... There is one thing but .. If you look at what happened
Here jsfiddle.net/egfx43hs/13 then where children come from me and my wife - not very beautiful (I wanted it would be better to display it somehow ... Like here scr2_big.gif
Do not judge strictly, I don’t know JS. I didn’t expect that I would encounter such a problem that I don’t even google, PHP and mysql have already been done, and add, and change, and links install, and delete ...
But this turned out to be a big problem.
I hope there is no one else to turn to for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vrafael, 2018-05-04
@vrafael

It is necessary to make a connection node (such as a marriage between an MF, possibly invisible) and build relationships between a pair of MFs through it. Children, respectively, will be
derived from this connection, which is logical)))))
a person has children from several marriages
It turns out such a beautiful diagram jsfiddle.net/egfx43hs/69
I wonder how you solved this problem? )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question