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-1.2.5 examples/sample32.rb
ruby-graphviz-1.2.4 examples/sample32.rb
ruby-graphviz-1.2.3 examples/sample32.rb
ruby-graphviz-1.2.2 examples/sample32.rb
ruby-graphviz-1.2.1 examples/sample32.rb
ruby-graphviz-1.2.0 examples/sample32.rb
ruby-graphviz-1.1.0 examples/sample32.rb
ruby-graphviz_c-1.1.1 examples/sample32.rb
ruby-graphviz_c-1.1.0 examples/sample32.rb
ruby-graphviz-1.0.9 examples/sample32.rb
ruby-graphviz-1.0.8 examples/sample32.rb
ruby-graphviz-1.0.7 examples/sample32.rb
ruby-graphviz-1.0.6 examples/sample32.rb
ruby-graphviz-1.0.5 examples/sample32.rb
ruby-graphviz-1.0.4 examples/sample32.rb
ruby-graphviz-1.0.3 examples/sample32.rb
ruby-graphviz-1.0.2 examples/sample32.rb
ruby-graphviz-1.0.1 examples/sample32.rb
ruby-graphviz-1.0.0 examples/sample32.rb
ruby-graphviz-0.9.21 examples/sample32.rb