examples/sample29.rb in ruby-graphviz-1.0.2 vs examples/sample29.rb in ruby-graphviz-1.0.3
- old
+ new
@@ -2,7 +2,7 @@
$:.unshift( "../lib" );
require "graphviz"
GraphViz.new(:G){ |g|
- g.add_node("\"Hello.\"\nHow are you ?", :href => "http://www.website.com", :tooltip => "\"Hello.\"\nHow are you ?", :shape => "ellipse", :color => "#FF0000")
-}.save( :svg => "#{$0}.svg" )
\ No newline at end of file
+ g.add_nodes("\"Hello.\"\nHow are you ?", :href => "http://www.website.com", :tooltip => "\"Hello.\"\nHow are you ?", :shape => "ellipse", :color => "#FF0000")
+}.save( :svg => "#{$0}.svg" )