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-0.9.9 examples/sample21.rb
ruby-graphviz-0.9.8 examples/sample21.rb
ruby-graphviz-0.9.7 examples/sample21.rb
ruby-graphviz-0.9.6 examples/sample21.rb
ruby-graphviz-0.9.5 examples/sample21.rb
ruby-graphviz-0.9.4 examples/sample21.rb
ruby-graphviz-0.9.3 examples/sample21.rb
ruby-graphviz-0.9.2 examples/sample21.rb