examples/sample20.rb in ruby-graphviz-1.0.7 vs examples/sample20.rb in ruby-graphviz-1.0.8
- old
+ new
@@ -10,11 +10,11 @@
end
GraphViz::new( "g", :rankdir => "LR", :type => "digraph" ) { |g|
g.node[:fontsize] = "16"
g.node[:shape] = "record"
-
+
g.node0( :label => "<f0> 0x10ba8| <f1>" )
g.node1( :label => "<f0> 0xf7fc4380| <f1> | <f2> |-1" )
g.node2( :label => "<f0> 0xf7fc44b8| | |2" )
g.node3( :label => "<f0> 3.43322790286038071e-06|44.79998779296875|0" )
g.node4( :label => "<f0> 0xf7fc4380| <f1> | <f2> |2" )
@@ -24,10 +24,10 @@
g.node8( :label => "<f0> (nil)| | |-1" )
g.node9( :label => "<f0> (nil)| | |-1" )
g.node10( :label => "<f0> (nil)| <f1> | <f2> |-1" )
g.node11( :label => "<f0> (nil)| <f1> | <f2> |-1" )
g.node12( :label => "<f0> 0xf7fc43e0| | |1" )
-
+
g.add_edges( g.node0(:f0), g.node1(:f0) )
g.add_edges( g.node0(:f1), g.node2(:f0) )
g.add_edges( g.node1(:f0), g.node3(:f0) )
g.add_edges( g.node1(:f1), g.node4(:f0) )
g.add_edges( g.node1(:f2), g.node5(:f0) )