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-1.2.5 examples/sample41.rb
ruby-graphviz-1.2.4 examples/sample41.rb
ruby-graphviz-1.2.3 examples/sample41.rb
ruby-graphviz-1.2.2 examples/sample41.rb
ruby-graphviz-1.2.1 examples/sample41.rb
ruby-graphviz-1.2.0 examples/sample41.rb
ruby-graphviz-1.1.0 examples/sample41.rb
ruby-graphviz_c-1.1.1 examples/sample41.rb
ruby-graphviz_c-1.1.0 examples/sample41.rb
ruby-graphviz-1.0.9 examples/sample41.rb
ruby-graphviz-1.0.8 examples/sample41.rb
ruby-graphviz-1.0.7 examples/sample41.rb
ruby-graphviz-1.0.6 examples/sample41.rb
ruby-graphviz-1.0.5 examples/sample41.rb
ruby-graphviz-1.0.4 examples/sample41.rb
ruby-graphviz-1.0.3 examples/sample41.rb
ruby-graphviz-1.0.2 examples/sample41.rb
ruby-graphviz-1.0.1 examples/sample41.rb
ruby-graphviz-1.0.0 examples/sample41.rb
ruby-graphviz-0.9.21 examples/sample41.rb