Sha256: 240354b091158ca84fda3d41004d0b58b65855ad14a7be34fe19dd76db6c0b6a

Contents?: true

Size: 289 Bytes

Versions: 9

Compression:

Stored size: 289 Bytes

Contents

# coding: utf-8
$:.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

9 entries across 9 versions & 1 rubygems

Version Path
ruby-graphviz-1.0.2 examples/sample38.rb
ruby-graphviz-1.0.1 examples/sample38.rb
ruby-graphviz-1.0.0 examples/sample38.rb
ruby-graphviz-0.9.21 examples/sample38.rb
ruby-graphviz-0.9.20 examples/sample38.rb
ruby-graphviz-0.9.19 examples/sample38.rb
ruby-graphviz-0.9.18 examples/sample38.rb
ruby-graphviz-0.9.17 examples/sample38.rb
ruby-graphviz-0.9.16 examples/sample38.rb