Sha256: 832846fd7d80586f3f3333823a4967b65908f3076d80006b1b3857f91ab3eaf6

Contents?: true

Size: 421 Bytes

Versions: 16

Compression:

Stored size: 421 Bytes

Contents

#!/usr/bin/ruby

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

GraphViz.new(:g){ |g|
  g[:center] = true
  a = g.add_nodes("A", :shape => "sdl_procedure_start", :peripheries => 0 )
  b = g.add_nodes("B", :shape => "sdl_save", :peripheries => 0)
  c = g.add_nodes("n", :shape => "box", :label => "\\G::\\N\\r")
  a << b << c
}.save( :ps => "#{$0}.ps", :extlib => File.join( File.dirname(__FILE__), "sdlshapes", "sdl.ps" ) )

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
ruby-graphviz-1.2.5 examples/sample30.rb
ruby-graphviz-1.2.4 examples/sample30.rb
ruby-graphviz-1.2.3 examples/sample30.rb
ruby-graphviz-1.2.2 examples/sample30.rb
ruby-graphviz-1.2.1 examples/sample30.rb
ruby-graphviz-1.2.0 examples/sample30.rb
ruby-graphviz-1.1.0 examples/sample30.rb
ruby-graphviz_c-1.1.1 examples/sample30.rb
ruby-graphviz_c-1.1.0 examples/sample30.rb
ruby-graphviz-1.0.9 examples/sample30.rb
ruby-graphviz-1.0.8 examples/sample30.rb
ruby-graphviz-1.0.7 examples/sample30.rb
ruby-graphviz-1.0.6 examples/sample30.rb
ruby-graphviz-1.0.5 examples/sample30.rb
ruby-graphviz-1.0.4 examples/sample30.rb
ruby-graphviz-1.0.3 examples/sample30.rb