Sha256: f793b8611fe7f3179f8a3a9c229b5bcb73473522a1d067b59ccd303d7311bd4e

Contents?: true

Size: 217 Bytes

Versions: 16

Compression:

Stored size: 217 Bytes

Contents

#!/usr/bin/ruby

$:.unshift( "../lib" );
require "graphviz"

GraphViz.new(:g){ |g|
  a = g.add_node( "A:B:C", :shape => :record )
  b = g.add_node( "D:E:F", :shape => :ellipse )
  a << b 
}.save( :png => "#{$0}.png" )

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
ruby-graphviz-1.0.2 examples/sample31.rb
ruby-graphviz-1.0.1 examples/sample31.rb
ruby-graphviz-1.0.0 examples/sample31.rb
ruby-graphviz-0.9.21 examples/sample31.rb
ruby-graphviz-0.9.20 examples/sample31.rb
ruby-graphviz-0.9.19 examples/sample31.rb
ruby-graphviz-0.9.18 examples/sample31.rb
ruby-graphviz-0.9.17 examples/sample31.rb
ruby-graphviz-0.9.16 examples/sample31.rb
ruby-graphviz-0.9.15 examples/sample31.rb
ruby-graphviz-0.9.14 examples/sample31.rb
ruby-graphviz-0.9.13 examples/sample31.rb
ruby-graphviz-0.9.12 examples/sample31.rb
ruby-graphviz-0.9.11 examples/sample31.rb
ruby-graphviz-0.9.10 examples/sample31.rb
ruby-graphviz-0.9.9 examples/sample31.rb