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

Labels are not correctly positioned for the official "Compound nodes" demo #8

Open
utensil opened this issue Feb 24, 2015 · 0 comments

Comments

@utensil
Copy link

utensil commented Feb 24, 2015

Labels are not correctly positioned for the official "Compound nodes" demo ( http://js.cytoscape.org/#demos ). One would get something like:

image

Observations:

  • a little right
  • the parent nodes(which used {'text-valign': 'top', 'text-halign': 'center'}) are not on the top but centered

The code always assumed a width of 200px and calculates alignments based on that.

If we remove the codes handling alignments , it's actually a little better:

image

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

1 participant