Sha256: 45ade1542946f5aecb1789b07ecb41f53ca014e313b0fe24825c9b7310aa01c9
Contents?: true
Size: 199 Bytes
Versions: 3
Compression:
Stored size: 199 Bytes
Contents
#!/usr/bin/ruby $:.unshift( "../lib" ); require "graphviz" asm = GraphViz::new( "" ) 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/sample61.rb |
ruby-graphviz-1.0.1 | examples/sample61.rb |
ruby-graphviz-1.0.0 | examples/sample61.rb |