-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with cytoscape-edgehandles , wrong handlePositions #47
Comments
@mafar It needs further investigation, but my first observation is that this problem doesn't occur when |
@hasanbalci Providing an option in
|
it seems following must be added
at places like
So that edgesHandles Nodes dont receieve treatment from |
Dear Devs, //https://github.com/cytoscape/cytoscape.js-edgehandles/blob/master/cytoscape-edgehandles.js
var userFilter = function userFilter(el) {
return el.filter(options.handleNodes).length > 0;
}; Becuase in my use case there are some parent Nodes that I dont want to snap to grid or resize. |
@mafar Please check the new commit on the unstable version. It should work for your case |
Dear Devs,
I am using cytoscape-grid-guide && cytoscape-edgehandles together.
Even though I have set
handlePosition: "middle top",
incy.edgehandles
buthandles are displayed at wrong position on hover, node selected.
cy.gridGuide()
,cy.edgehandles
seem to work finehandlePosition,
appears at node center while i set it ashandlePosition: "middle top",
incy.edgehandles
Code Pen Demo:
https://codepen.io/mafar/pen/JjYqvVp?editors=0010
ISSUE (Animated GIF):
See how
handlePosition,
offsets**ISSUE , First Hover node ,
handlePosition,
appears at node center **The text was updated successfully, but these errors were encountered: