Sha256: 823278b47f78acb3d4ff9542891b9d4e45583cf1268e8d51825631a731497cab

Contents?: true

Size: 334 Bytes

Versions: 32

Compression:

Stored size: 334 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz.new(:G){ |g|
  g.edge[:arrowsize => 0.5]
  g.graph[:bb => "0,0,638,256"]
  g.person[:shape => :record];
  g.driver[:shape => :ellipse];
  g.owner[:shape => :ellipse];
  g.passenger[:shape => :ellipse];
  g.vehicle[:shape => :record];
}.save( :png => "#{$0}.png" )

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
ruby-graphviz-0.9.20 examples/sample32.rb
ruby-graphviz-0.9.19 examples/sample32.rb
ruby-graphviz-0.9.18 examples/sample32.rb
ruby-graphviz-0.9.17 examples/sample32.rb
ruby-graphviz-0.9.16 examples/sample32.rb
ruby-graphviz-0.9.15 examples/sample32.rb
ruby-graphviz-0.9.14 examples/sample32.rb
ruby-graphviz-0.9.13 examples/sample32.rb
ruby-graphviz-0.9.12 examples/sample32.rb
ruby-graphviz-0.9.11 examples/sample32.rb
ruby-graphviz-0.9.10 examples/sample32.rb
ruby-graphviz-0.9.9 examples/sample32.rb