examples/theory/tests.rb in ruby-graphviz-1.0.7 vs examples/theory/tests.rb in ruby-graphviz-1.0.8

- old
+ new

@@ -7,11 +7,11 @@ g.b[:label => "2"] g.c[:label => "3"] g.d[:label => "4"] g.e[:label => "5"] g.f[:label => "6"] - + # g.a << g.a g.a << g.b g.a << g.d (g.a << g.f)[:weight => 6, :label => "6"] g.b << g.c @@ -80,8 +80,8 @@ puts "Critical path : " rrr = t.critical_path print "\tPath "; p rrr[:path] puts "\tDistance : #{rrr[:distance]}" -t.pagerank.each { |node, rank| +t.pagerank.each { |node, rank| puts "Pagerank for node #{node.id} = #{rank}" }