javascript - D3 Force Layout / 2 magnets? -


I have a central circle (C1) and on the left is a bunch of nodes, marked with 'L' And the bunch of them on the right, marked with 'R' I am trying to implement the following behavior in an unsuccessful way (this code for start (); ):

< P> I force 'L' marked circles to be forced / forced by a magnet / left and 'R' marked circle on the right.

Can some please help / advise or modify my given example with a better idea, of course if there is a better way of doing this, your suggestion is welcome.


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -