examples/arrowhead.rb in ruby-graphviz-0.8.3 vs examples/arrowhead.rb in ruby-graphviz-0.9.0
- old
+ new
@@ -92,6 +92,6 @@
g.add_node( p, "shape" => "point" )
g.add_node( s )
g.add_edge( p, s, "arrowhead" => s )
}
-g.output()
+g.output( :file => "#{$0}.png" )