vscode-interactive-graphviz icon indicating copy to clipboard operation
vscode-interactive-graphviz copied to clipboard

"Maximum call stack size exceeded" occurs when rendering large graph

Open only52607 opened this issue 1 year ago • 3 comments

image

This is an example dot that causes the error, it contains 5000 nodes.

large_graph.zip

only52607 avatar Jan 02 '24 08:01 only52607

@only52607 did you find a solution? I have a graph of 30k nodes to plot 😄

sneko avatar Feb 29 '24 02:02 sneko

@only52607 did you find a solution? I have a graph of 30k nodes to plot 😄

No, I can only use the official executable program to generate images for large graphs.

only52607 avatar Mar 13 '24 07:03 only52607

@only52607 I ended doing almost the same thing:

  1. I generate a .svg with the executable
  2. I open it in Chrome, it's pretty decent and it allows to search for text, to use trackpad to slide and zoom, and from what I remember there is the "hot reload" while remaining at the same position on the image (which is great when it's too wide/tall). I did not find an equivalent tool after multiple testings.

Hope it helps 👍

sneko avatar Mar 13 '24 07:03 sneko