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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -