You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JLHwung feel free to work on locking specified nodes. This is where you need to disallow movement of nodes. However notice that prior to layout starting you should resolve any inconsistencies. For instance, locking a parent compound node with children unlocked will create problems.
Correct me if I am wrong, but I search
locked
in the codebase and find nothing.In
cose
layout, the gravitational/repulsion force takeslocked
into consideration, see https://github.com/cytoscape/cytoscape.js/blob/master/src/extensions/layout/cose.js#L357 and https://github.com/cytoscape/cytoscape.js/blob/master/src/extensions/layout/cose.js#L529.However, I did not see any
locked
in https://github.com/cytoscape/cytoscape.js-cose-bilkent/blob/master/src/Layout/FDLayout.js#L208 and https://github.com/cytoscape/cytoscape.js-cose-bilkent/blob/master/src/Layout/FDLayout.js#L281.I can work on a PR to respect locked nodes. Is there any algorithmic difficult on locked nodes? Thank you.
The text was updated successfully, but these errors were encountered: