examples/sample04.rb in ruby-graphviz-0.8.3 vs examples/sample04.rb in ruby-graphviz-0.9.0
- old
+ new
@@ -17,6 +17,6 @@
struct3 = g.add_node( "struct3", "shape" => "record", "label" => 'hello\nworld |{ b |{c|<here> d|e}| f}| g | h' )
g.add_edge( struct1, struct2 )
g.add_edge( struct1, struct3 )
-g.output()
+g.output( :file => "#{$0}.png" )