#!/usr/bin/ruby $:.unshift( "../lib" ); require "graphviz" g = nil if ARGV[0] g = GraphViz::new( "G" "nodesep" => ".05", "rankdir" => "LR", "path" => ARGV[0] ) else g = GraphViz::new( "G", "nodesep" => ".05", "rankdir" => "LR" ) end g.node["shape"] = "record" g.node["width"] = ".1" g.node["height"] = ".1" g.add_nodes( "node0", "label" => " | | | | | | | | ", "height" => "2.5" ) g.add_nodes( "node1", "label" => "{ n14 | 719 |

}", "width" => "1.5" ) g.add_nodes( "node2", "label" => "{ a1 | 805 |

}", "width" => "1.5" ) g.add_nodes( "node3", "label" => "{ i9 | 718 |

}", "width" => "1.5" ) g.add_nodes( "node4", "label" => "{ e5 | 989 |

}", "width" => "1.5" ) g.add_nodes( "node5", "label" => "{ t20 | 959 |

}", "width" => "1.5" ) g.add_nodes( "node6", "label" => "{ o15 | 794 |

}", "width" => "1.5" ) g.add_nodes( "node7", "label" => "{ s19 | 659 |

}", "width" => "1.5" ) g.add_edges( {"node0" => :f0}, {"node1" => :n} ) g.add_edges( {"node0" => :f1}, {"node2" => :n} ) g.add_edges( {"node0" => :f2}, {"node3" => :n} ) g.add_edges( {"node0" => :f5}, {"node4" => :n} ) g.add_edges( {"node0" => :f6}, {"node5" => :n} ) g.add_edges( {"node2" => :p}, {"node6" => :n} ) g.add_edges( {"node4" => :p}, {"node7" => :n} ) g.output( :png => "#{$0}.png" )