Sha256: ac875719e386d8a1bcfbfbd7a9a5a06833e80e6ee87aa109b60eb7146b4d26c2
Contents?: true
Size: 411 Bytes
Versions: 7
Compression:
Stored size: 411 Bytes
Contents
#!/usr/bin/ruby $:.unshift( "../lib" ) require "graphviz" g = nil if ARGV[0] g = GraphViz::new( "G", :path => ARGV[0] ) else g = GraphViz::new( "G" ) end g.add_edges("noDe", "graph") g.add_edges("node", "graph") g.add_edges("node", "Graph") g.add_edges("graph", "subgraph") g.add_edges("edge", "node") g.add_edges("subgraph", "digraph") g.add_edges("subgraph", "strict") g.output( :png => "#{$0}.png" )
Version data entries
7 entries across 7 versions & 1 rubygems