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