Re:Looking at your program’s structure in Go 1.7
by qznc on Friday August 19, 2016 @07:19AM
(#12319263)
Graphviz/dot sucks. Here is yComp for the same function: https://imgur.com/a/5eP9k
The blocks and red edges represent the control flow graph and I can easily see the two if structures.
It lets you zoom. Mouseover nodes to get more details.
https://twitter.com/chewxy/status/433807908875145216
https://twitter.com/chewxy/status/433811541373116416
This is from an old JITting Javascript engine I wrote in Go... a simple program like this:
can generate pngs that are thousands of pixels wide and high (depending on what the nodesep and ranksep were set).I wish I did think of the visualization that Go uses. That's fantastic compared to graphs