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
58 stars 9 forks source link

Guidelines messed up when window resized #9

Closed ugurdogrusoz closed 8 years ago

ugurdogrusoz commented 8 years ago

To reproduce (on Windows 10 with latest Chrome):

selimfirat commented 8 years ago

guidelines_bug The crosspoint of guidelines shows the renderedPosition of compound. Also I couldn't reproduce it in demo.html of grid-guide. Thus, this issue is probably caused by sbgn spesific edits on cytoscape.js

ugurdogrusoz commented 8 years ago

See https://github.com/iVis-at-Bilkent/chise.js/issues/32

metincansiper commented 8 years ago

@mrsfy I reproduced such errors in 'demo.html'. Therefore, I think that this problem may not be special to ChiSE. Some related screenshots are below:

grid-guide-error

grid-guide-error2

selimfirat commented 8 years ago

It is not a problem. As Kramer is not a child of the parent node, it draws a guideline to center of parent node.

ugurdogrusoz commented 8 years ago

Yes, looks like guidelines in these examples (that @metincansiper included) are fine.