Sha256: 2bd4e01922afbf86577130398f69a363cf94eff6af7add05872e8be0262cc261
Contents?: true
Size: 350 Bytes
Versions: 21
Compression:
Stored size: 350 Bytes
Contents
#!/usr/bin/ruby $:.unshift( "../lib" ); require "graphviz" GraphViz.new(:G){ |g| g[:ratio => "auto", :label => "I love the world!"] g.hello( :label => "Hello", :color => "blue" ) # You can do this g.none[ :label => "World", :color => "green" ] # or that (g.hello - g.none)[:style => :bold, :label => " I say"] }.save( :png => "#{$0}.png" )
Version data entries
21 entries across 21 versions & 1 rubygems