Sha256: f62a0427094c3b982295432a9f6e0a992189146820ea80ff25b2614153572030

Contents?: true

Size: 341 Bytes

Versions: 28

Compression:

Stored size: 341 Bytes

Contents

#!/usr/bin/ruby

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

{"png" => "#{$0}.png", "imap" => "#{$0}.html"}.each do |format, file|
  GraphViz::new( "G" ) { |g|
    g.command(:URL => "http://www.research.att.com/base.html")
    g._output(:label => "output", :URL => "colors.html")
    g.command << g._output
  }.output( format => file )  
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ruby-graphviz-1.0.7 examples/sample21.rb
ruby-graphviz-1.0.6 examples/sample21.rb
ruby-graphviz-1.0.5 examples/sample21.rb
ruby-graphviz-1.0.4 examples/sample21.rb
ruby-graphviz-1.0.3 examples/sample21.rb
ruby-graphviz-1.0.2 examples/sample21.rb
ruby-graphviz-1.0.1 examples/sample21.rb
ruby-graphviz-1.0.0 examples/sample21.rb
ruby-graphviz-0.9.21 examples/sample21.rb
ruby-graphviz-0.9.20 examples/sample21.rb
ruby-graphviz-0.9.19 examples/sample21.rb
ruby-graphviz-0.9.18 examples/sample21.rb
ruby-graphviz-0.9.17 examples/sample21.rb
ruby-graphviz-0.9.16 examples/sample21.rb
ruby-graphviz-0.9.15 examples/sample21.rb
ruby-graphviz-0.9.14 examples/sample21.rb
ruby-graphviz-0.9.13 examples/sample21.rb
ruby-graphviz-0.9.12 examples/sample21.rb
ruby-graphviz-0.9.11 examples/sample21.rb
ruby-graphviz-0.9.10 examples/sample21.rb