Sha256: 7c198a3f9881e98f171a80896e6a4a9bd01188fd15c3f3c721398adeeae1990d

Contents?: true

Size: 266 Bytes

Versions: 23

Compression:

Stored size: 266 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz::new( "G", :type => "graph", :rankdir => "LR" ) { |graph|
  graph.add_edge( [graph.a, graph.b, graph.c], [ graph.d, graph.e, graph.f ] )
}.output( :path => '/usr/local/bin/', :png => "#{$0}.png" )

Version data entries

23 entries across 23 versions & 1 rubygems

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