02-14-2016 11:53 AM
Hello,
it seems that "dataProcessor: 'force'" property is not working for nodeSets -> all nodeSets are at the same position. is there an alternative?
Thanks,
Mathias
Solved! Go to Solution.
02-15-2016 03:57 PM
Hi Mathias,
nodeSet will not involved in the force layout process. If you want to set/get a position to a nodeSet. You can use vertexPositionSetter/vertexPositionGetter to achieve that.
I made a example, for the nodeSet, use the first node's position as its position. You can modify this base on your real use case.
http://jsfiddle.net/nextsupport/4Lr3kuos/
Abu
02-15-2016 03:57 PM
Hi Mathias,
nodeSet will not involved in the force layout process. If you want to set/get a position to a nodeSet. You can use vertexPositionSetter/vertexPositionGetter to achieve that.
I made a example, for the nodeSet, use the first node's position as its position. You can modify this base on your real use case.
http://jsfiddle.net/nextsupport/4Lr3kuos/
Abu
02-15-2016 11:51 PM
Hi Abu,
Thank you very much!
Regards,
Mathias
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide