Sha256: 709d3202f196b702a08ce2025cc7c7f629a0328e52788ac569dbe0d2d10f34f2

Contents?: true

Size: 269 Bytes

Versions: 26

Compression:

Stored size: 269 Bytes

Contents

# http://www.graphviz.org/Gallery/directed/hello.html
#
# digraph G {Hello->World}

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

GraphViz::new( :G, :type => :digraph ) { |g|
  g.world( :label => "<World" ) << g.hello( :label => "Hello>" )
}.output( :svg => "#{$0}.svg" )

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
ruby-graphviz-0.9.20 examples/sample56.rb
ruby-graphviz-0.9.19 examples/sample56.rb
ruby-graphviz-0.9.18 examples/sample56.rb
ruby-graphviz-0.9.17 examples/sample56.rb
ruby-graphviz-0.9.16 examples/sample56.rb
ruby-graphviz-0.9.15 examples/sample56.rb