tintinweb / vscode-interactive-graphviz

Interactive Graphviz Dot Preview for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.graphviz-interactive-preview
GNU General Public License v3.0
143 stars 22 forks source link

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

Open only52607 opened 6 months ago

only52607 commented 6 months ago

image

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

large_graph.zip

sneko commented 4 months ago

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

only52607 commented 3 months ago

@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.

sneko commented 3 months ago

@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 👍