Sha256: 3a6aa4d79cf1f86cfcc62c23dfa6ea1b0f732b8ade11371618329a51bbfbd0b4

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 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( :png => "#{$0}.png" )

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-graphviz-0.9.14 examples/sample49.rb
ruby-graphviz-0.9.13 examples/sample49.rb
ruby-graphviz-0.9.12 examples/sample49.rb