Sha256: eaa55fa97d82ce1f4c2a39f530dffd74ab3708069472f3bcd3fed907cb867840
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
#!/usr/bin/ruby $:.unshift( "../../lib" ); require "graphviz" GraphViz.parse2( "hello.dot", :path => "/usr/local/bin" ) { |g| g.get_node("Hello") { |n| n.label = "Bonjour" } g.get_node("World") { |n| n.label = "Le Monde" } }.output(:png => "#{$0}.png")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-graphviz-0.9.15 | examples/dot/hello_test.rb |