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

Added linebreak code to partially fix #1 #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

amunn
Copy link

@amunn amunn commented Jan 23, 2023

Added code to allow \\ inside node labels to produce a newline in the output. getMainTextAndSubText passes back the longest line so that the size of the node can be calculated correctly. It also passes back the number of lines which I hoped would allow the textbox to be sized correctly, but I couldn't make that resizing work properly, so for the moment the box doesn't surround the text with linebreaks correctly.

Alan Munn added 5 commits March 3, 2022 16:56
…iting the box still could use some work, but the basic display works.
…bText to try to get the height of the box correct but doesn't seem to work. Leaving it in doing nothing for the moment.
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

Successfully merging this pull request may close these issues.

1 participant