Sha256: 5810a6dbf245f495033e037801ad912307d8139824a945f47d04c96a09273df6

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

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

g = GraphViz::new( :G ) { |g|
  g.a[:label => "ε"]
  g.add_node( "b", :label => "ε" )
  g.c[:label => 'ε']
  g.add_node( "d", :label => 'ε' )
}

puts g.output( :none => String, :png => "#{$0}.png", :path => "/usr/local/bin" )

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-graphviz-0.9.15 examples/sample38.rb
ruby-graphviz-0.9.14 examples/sample38.rb
ruby-graphviz-0.9.13 examples/sample38.rb
ruby-graphviz-0.9.12 examples/sample38.rb
ruby-graphviz-0.9.11 examples/sample38.rb