Quick hack to visualize nested Ruby arrays with Graphviz
I wanted a hack to visualize programs from my compiler project using Graphviz. The script will turn arbitrary arrays containing other arrays or objects that respond to #to_s and turn it into a tree structure.
Comments
Argh.. Unfortunately, despite the preview I messed up the link. The correct link is http://www.hokstad.com/creating-graphviz-graphs-from-ruby-arrays.html
Link now fixed - forgot you can edit the entries after posting.
Post a comment