Copyright (C) 2003 - 2012 Gregoire Lejeune <gregoire.lejeune@free.fr>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
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
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
Generated with the Darkfish Rdoc Generator 2.