Sha256: 071cfd4916f97e44d1abc4c4d790e0e907272e8f8eaf6dda43f7e804a69f1196

Contents?: true

Size: 249 Bytes

Versions: 29

Compression:

Stored size: 249 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz::new( "G" ) { |g|
  g.hello(:style => :filled, :fillcolor => :lightblue) << g.world(:style => :filled, :fillcolor => :lightgrey)
}.output( :svg => "#{$0}.svg", :nothugly => true )

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
ruby-graphviz-0.9.20 examples/sample41.rb
ruby-graphviz-0.9.19 examples/sample41.rb
ruby-graphviz-0.9.18 examples/sample41.rb
ruby-graphviz-0.9.17 examples/sample41.rb
ruby-graphviz-0.9.16 examples/sample41.rb
ruby-graphviz-0.9.15 examples/sample41.rb
ruby-graphviz-0.9.14 examples/sample41.rb
ruby-graphviz-0.9.13 examples/sample41.rb
ruby-graphviz-0.9.12 examples/sample41.rb