iVis-at-Bilkent / cytoscape.js-grid-guide

A Cytsocape.js extension to provide a framework for grid interactions such as grid lines and snapping to grid, and guidelines and snap support for alignment of nodes.
MIT License
59 stars 9 forks source link

Compound nodes positioned off grid #5

Closed ugurdogrusoz closed 8 years ago

ugurdogrusoz commented 8 years ago

With default options, a compound node's children will all nicely align with the grid and the compound node margins will also be modified to nicely align with the grid. See here:

before

And when you drag child nodes of the compound, they keep nicely aligning with the grid. However, when you drag the compound, sometimes, the compound gets positioned off the grid (resulting in children not properly aligning with the grid). See below:

after

selimfirat commented 8 years ago

It seems more stable now. May you confirm?

ugurdogrusoz commented 8 years ago

Looks fine!