Sha256: aace9505b48abaac1ea87a028e16fd3ced4904ae3dae02d05a06fbde17ecbe42

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz::new( "G", :type => "graph", :output => "png", :rankdir => "LR" ) { |graph|
  graph.add_edge( [graph.a, graph.b, graph.c], [ graph.d, graph.e, graph.f ] )
}.output( :path => '/usr/local/bin/', :file => "#{$0}.png" )

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-graphviz-0.9.1 examples/sample16.rb
ruby-graphviz-0.9.0 examples/sample16.rb