Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.395 kB
#!/usr/bin/ruby
$:.unshift( "../../lib" );
require "graphviz"
GraphViz.new(:g){ |g|
g[:center] = true
a = g.add_nodes("A", :shape => "rgv_box", :peripheries => 0)
b = g.add_nodes("Bonjour le monde\nComment va tu ?", :shape => "rgv_cloud", :peripheries => 0)
c = g.add_nodes("C", :shape => "rgv_flower", :peripheries => 0)
a << b << c
}.save( :ps => "#{$0}.ps", :extlib => "rgv.ps" )
Jump to Line
Something went wrong with that request. Please try again.