Requesting dot format

Author: suntongCreated Aug 2, 2021Updated Jan 2, 2025
Labelsquestion

The program used to generate dot format output previously. Is it still supported?

I tried with ... -format=dot -file=/tmp/callvis, and I saw two files under /tmp:

-rwxr-x--x 1     518  /tmp/callvis.gv*
-rw-rw---- 1     558  /tmp/callvis.dot

But neither can be consumed by dot:

 cat /tmp/callvis.gv | dot -Tpng -o /tmp/out.png
 cat /tmp/callvis.dot | dot -Tpng -o /tmp/out.png

What's the proper way of doing it? Thx!

PS. Related to https://github.com/ofabry/go-callvis/issues/97. As if there is no official way to break up large graphs, I have to hack into .dot file and break it up myself.