-
Notifications
You must be signed in to change notification settings - Fork 104
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
Can't render special dot string and get uncaught error in Console #280
Comments
Seems related to hpcc-systems/hpcc-js-wasm#139 |
Hi, @magjac I found another case about this problem, could you please help? If you change dot string to this, also have this problem:
|
I seems to me that the problem is in Graphviz itself. See https://gitlab.com/graphviz/graphviz/-/issues/2331 and https://gitlab.com/graphviz/graphviz/-/merge_requests/3016. Your second example is not valid DOT source and gives |
Some debugging shows that the error exists already in hpcc-js/wasm and is This error probably comes from Graphviz itself from an assertion in |
Thanks reply.
I will post this issue to |
I took the orig DOT and fixed it to:
(There was an issue with a missing space before the second subgraph) And pasted it into: https://observablehq.com/@gordonsmith/graphviz-wasm-example |
@GordonSmith Seems it's not related the Here is my reproduce steps(I made screenshots, but it's blocked by company network):
BTW, after the graph works, paste any above dot string, it works well. That's strange. |
Seems I can't render some dot string and there is uncaught error in Console.
Reproduce steps:
examples/basic-add-edge.html:20
http-server .
in command line and openbasic-add-edge.html
fileActual behavior:
Get empty result and get errors in Console.
Expect beahvior:
should render graph from given dot string
Possible fixes:
Seems it's related to
d3-graphviz/src/dot.js
Line 18 in 64244fe
The text was updated successfully, but these errors were encountered: