Sha256: 6043f46e6859e021b96729eacdb7bfb1015138f1cd503a248ad179241a1805a2

Contents?: true

Size: 391 Bytes

Versions: 14

Compression:

Stored size: 391 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz.new(:g){ |g|
  g[:center] = true
  a = g.add_node("A", :shape => "rgv_box", :peripheries => 0)
  b = g.add_node("Bonjour le monde\nComment va tu ?", :shape => "rgv_cloud", :peripheries => 0)
  c = g.add_node("C", :shape => "rgv_flower", :peripheries => 0)
  a << b << c
}.save( :ps => "#{$0}.ps", :extlib => "rgv.ps" )

Version data entries

14 entries across 14 versions & 1 rubygems

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