dotplugin icon indicating copy to clipboard operation
dotplugin copied to clipboard

Loading a big graph completely freezes the IDE

Open edgarogh opened this issue 1 year ago • 2 comments

IntellIJ uses asynchronous tasks for things as simple as pasting code, so a CPU intensive task like computing a graph should definitely be offloaded to another thread.

edgarogh avatar Sep 19 '24 17:09 edgarogh

I'm also running into this. I have 5000+ line .dot files and PyCharm locks up for several seconds opening them. It's a bigger problem because of the one-click preview they introduced a while back. Need to offload the processing, or if it's possible, force PyCharm into just the editor view, so it doesn't have to render the diagram.

argel1200 avatar Jan 16 '25 17:01 argel1200

Same issue reported in https://youtrack.jetbrains.com/issue/IJPL-175271. A sample dot file can be found in https://github.com/pydot/pydot/blob/main/test/graphs/b106.dot

lj-replicate avatar Jan 23 '25 15:01 lj-replicate