Problem with graphviz_draw if using a debugger
Hello, I'm using graph-tool with Pycharm and I've noticed that using the function graphviz_draw with "xlib" if executing from the IDE, the output window remains blank and the CPU starts working at 100% until that window is closed. Looking into the code I've been able to solve the problem by changing line 573 in graphviz_draw.py file from:
if pid == 0:
to
if pid != 0:
In order to kill the forked child process instead of the original one. I don't know if this leads other issues, but in my case solved the problem and everything is working fine.
Thanks