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

RuntimeError with long label starting with newline #204

Open
mdaines opened this issue Sep 16, 2023 · 1 comment
Open

RuntimeError with long label starting with newline #204

mdaines opened this issue Sep 16, 2023 · 1 comment

Comments

@mdaines
Copy link
Owner

mdaines commented Sep 16, 2023

Rendering this graph throws an error, while rendering the same graph with Graphviz 9.0.0 works:

digraph {
  a [label="
01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678"]
}

long label

But these graphs don't:

digraph {
  a [label="
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567"]
}

shorter by one character

digraph {
  a [label="01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234"]
}

longer, no initial newline

Error message:

RuntimeError: Out of bounds call_indirect (evaluating 'G.apply(null,M)')
@shubhankar-mern
Copy link

@mdaines have u noticed that as the length of label increases the width of eclipse increases ..after a certain point the text gets smaller and then when there is no space to fit the characters it throws this exception..

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

2 participants