examples/sample16.rb in ruby-graphviz-1.0.2 vs examples/sample16.rb in ruby-graphviz-1.0.3
- old
+ new
@@ -2,7 +2,7 @@
$:.unshift( "../lib" );
require "graphviz"
GraphViz::new( "G", :type => "graph", :rankdir => "LR" ) { |graph|
- graph.add_edge( [graph.a, graph.b, graph.c], [ graph.d, graph.e, graph.f ] )
-}.output( :path => '/usr/local/bin/', :png => "#{$0}.png" )
\ No newline at end of file
+ graph.add_edges( [graph.a, graph.b, graph.c], [ graph.d, graph.e, graph.f ] )
+}.output( :path => '/usr/local/bin/', :png => "#{$0}.png" )