solgenomics/bio-geneticrelationships — pull request #2 by pvaneck (2012-07-24 19:48:53+00:00)
Title: Perl Graphviz Wrapper Integration

Made the code compatible with the perl GraphViz wrapper: http://search.cpan.org/~rsavage/GraphViz2-2.03/ . The wrapper works well, producing output essentially identical to using Graphviz itself. The code produces a .gv file in the current directory which can then be used in conjunction with canviz, the javascript library for drawing Graphviz graphs. However, in order to get the javascript to function properly with the onmouseout and onmouseover attributes, these attributes must be added to the @@ common_attribute portion at the end of GraphViz2.pm (onmouseout => node, onmouseover => node).