Sha256: 9fa6b9ab3a77e39229d6ad82a86226602784ec30234b399fe06c9792bb83ab60

Contents?: true

Size: 278 Bytes

Versions: 37

Compression:

Stored size: 278 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz::new( "G" ) { |g|
  g.hello << g.world
  g.bonjour( :label => '"Bonjour"' ) - g.monde( :label => "Le\nmonde")
  g.hola > g.mundo
  g.holla >> g.welt
}.output( :path => "/usr/local/bin", :png => "#{$0}.png" )

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
ruby-graphviz-0.9.20 examples/sample25.rb
ruby-graphviz-0.9.19 examples/sample25.rb
ruby-graphviz-0.9.18 examples/sample25.rb
ruby-graphviz-0.9.17 examples/sample25.rb
ruby-graphviz-0.9.16 examples/sample25.rb
ruby-graphviz-0.9.15 examples/sample25.rb
ruby-graphviz-0.9.14 examples/sample25.rb
ruby-graphviz-0.9.13 examples/sample25.rb
ruby-graphviz-0.9.12 examples/sample25.rb
ruby-graphviz-0.9.11 examples/sample25.rb
ruby-graphviz-0.9.10 examples/sample25.rb
ruby-graphviz-0.9.9 examples/sample25.rb
ruby-graphviz-0.9.8 examples/sample25.rb
ruby-graphviz-0.9.7 examples/sample25.rb
ruby-graphviz-0.9.6 examples/sample25.rb
ruby-graphviz-0.9.5 examples/sample25.rb
ruby-graphviz-0.9.4 examples/sample25.rb