i'm making a graph layout with cytoscape.js. I want some nodes to have fixed positions. So in my current solution i use the cose layout of cytoscape and set postions for these nodes. It works but i have in my layout some node overlapping. I think the cose layout position the nodes regardless of the fixed nodes. Have anyone ideas how i can fix this? Thanks
Asked
Active
Viewed 1,390 times
1 Answers
0
Try locking the nodes that should be stationary: http://js.cytoscape.org/#nodes.lock

maxkfranz
- 11,896
- 1
- 27
- 36
-
1i already lock the fixed nodes and let the other nodes layout automatically but i got node overlapping. – Ha Tran Jun 14 '16 at 07:46
-
Adjust your layout options – maxkfranz Jun 15 '16 at 19:05
-
1Which option is helpful for this ? – Does Sep 02 '19 at 01:00