Skip to content
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

Option to always show expand/collapse cues #27

Open
ripfire44 opened this issue Feb 14, 2017 · 3 comments
Open

Option to always show expand/collapse cues #27

ripfire44 opened this issue Feb 14, 2017 · 3 comments

Comments

@ripfire44
Copy link

Is it possible to keep the cues visibile? I'm trying to make the expand/collapse accessible to those with touch only interface (ie tablets).

@ugurdogrusoz
Copy link
Contributor

@ripfire44 Keeping visual cues visible all the time is problematic since they are drawn on a separate canvas and we have refresh issues. A workaround would be to not display visual cues at all but map a certain gesture on a compound to do expand/collapse.

@ugurdogrusoz ugurdogrusoz changed the title Expand/Collapse Cues Option to always show expand/collapse cues Jun 13, 2017
@utkarshagarwal01
Copy link

This would be a very helpful feature for me too, on mouse interfaces.
Any ideas for implementation before this is actually implemented?

What I am currently doing in my implementation is that I am using an image as a node background image, and calculating click on that based on mouse click position. The difficulty is that i need to have the cue outside the circular node boundary (but within the bounding box), and am not able to get the click event on the node. Any comments on how to improve this?

@manotoor
Copy link

manotoor commented Aug 6, 2019

@ripfire44 Keeping visual cues visible all the time is problematic since they are drawn on a separate canvas and we have refresh issues. A workaround would be to not display visual cues at all but map a certain gesture on a compound to do expand/collapse.

cytoscape.style.width = width; cytoscape.style.height = height; cy.resize();
I noticed when updating the size of cytoscape canvas directly and then calling cy.resize();
does not update the canvas for visual cues. Seems as if their dimensions are bounded by old canvas size. Any workaround for this behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants