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

Prevent long node labels from extending past pattern boundaries #220

Open
fedarko opened this issue Mar 1, 2022 · 0 comments
Open

Prevent long node labels from extending past pattern boundaries #220

fedarko opened this issue Mar 1, 2022 · 0 comments

Comments

@fedarko
Copy link
Member

fedarko commented Mar 1, 2022

The resulting extended pattern boundaries can look strange and overlap each other.

If Cytoscape.js isn't flexible on this, an alternate solution to this might just be truncating displayed node labels once they get long enough (can do this manually, by replacing the label with the first N characters and then ...).

image

@fedarko fedarko changed the title Prevent long node labels from extending pattern boundaries Prevent long node labels from extending past pattern boundaries Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant