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

multiline node labels #45

Closed
gordonwoodhull opened this issue Mar 26, 2016 · 1 comment
Closed

multiline node labels #45

gordonwoodhull opened this issue Mar 26, 2016 · 1 comment

Comments

@gordonwoodhull
Copy link
Contributor

I started to implement this in the node-line-breaks branch but the vertical alignment was wrong for any odd number of lines, so I stopped. I'm also not convinced it's going to get the height right. (I didn't see it expanding the nodes for up to three lines.)

@gordonwoodhull
Copy link
Contributor Author

For now, nodeLabel is allowed to return an array of strings and they will be treated as separate lines. Something more archaic but familiar like '\n' separation might be more appropriate.

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