Parent

Object

Constants

XSLT_METHOD

Public Instance Methods

digraph(name, options = {}, &block) click to toggle source

Create a new directed graph

# File lib/graphviz/dsl.rb, line 59
def digraph(name, options = {}, &block)
   GraphViz::DSL.new(name, options.merge( { :type => "digraph" } ), &block).graph
end
graph(name, options = {}, &block) click to toggle source

Create a new undirected graph

# File lib/graphviz/dsl.rb, line 54
def graph(name, options = {}, &block)
   GraphViz::DSL.new(name, options.merge( { :type => "graph" } ), &block).graph
end
strict(name, options = {}, &block) click to toggle source

Create a new strict directed graph

# File lib/graphviz/dsl.rb, line 64
def strict(name, options = {}, &block)
   GraphViz::DSL.new(name, options.merge( { :type => "strict digraph" } ), &block).graph
end
to_ruby() click to toggle source
# File lib/graphviz/core_ext.rb, line 17
def to_ruby
   begin
      eval self
   rescue => e
      self
   end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.