Sha256: e61ceb0328cb77a1cd3c89270bed94ba7c4ff48c72b2b2eefe59fe00fa9b40a6

Contents?: true

Size: 206 Bytes

Versions: 11

Compression:

Stored size: 206 Bytes

Contents

#!/usr/bin/ruby

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

asm = GraphViz::new( "My ASM" )

my = asm.add_nodes("My")
asmn = asm.add_nodes("ASM")
asm.add_edges(my, asmn)

asm.output( :png => "#{$0}.png" )

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
ruby-graphviz-1.2.5 examples/sample60.rb
ruby-graphviz-1.2.4 examples/sample60.rb
ruby-graphviz-1.2.3 examples/sample60.rb
ruby-graphviz-1.2.2 examples/sample60.rb
ruby-graphviz-1.2.1 examples/sample60.rb
ruby-graphviz-1.2.0 examples/sample60.rb
ruby-graphviz-1.1.0 examples/sample60.rb
ruby-graphviz_c-1.1.1 examples/sample60.rb
ruby-graphviz_c-1.1.0 examples/sample60.rb
ruby-graphviz-1.0.9 examples/sample60.rb
ruby-graphviz-1.0.8 examples/sample60.rb