Sha256: 68c075224288309c249fc9a3a71ce53fe377b011b480f8789a67abc85ba45df5
Contents?: true
Size: 205 Bytes
Versions: 3
Compression:
Stored size: 205 Bytes
Contents
#!/usr/bin/ruby $:.unshift( "../lib" ); require "graphviz" asm = GraphViz::new( "My ASM" ) my = asm.add_node("My") asmn = asm.add_node("ASM") asm.add_edge(my, asmn) asm.output( :png => "#{$0}.png" )
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-graphviz-1.0.2 | examples/sample60.rb |
ruby-graphviz-1.0.1 | examples/sample60.rb |
ruby-graphviz-1.0.0 | examples/sample60.rb |