Top Level Namespace
Defined Under Namespace
Classes: AttributeException, BoolException, ColorException, Dot2Ruby, DoubleException, GraphViz, Hash, Object, RectException, SplineTypeException, String
Constant Summary collapse
- IS_JRUBY =
( JRUBY_VERSION ) != nil)
- IS_CYGWIN =
((RUBY_PLATFORM =~ /cygwin/) != nil)
Instance Method Summary collapse
-
#digraph(name, options = {}, &block) ⇒ Object
Create a new directed graph.
-
#graph(name, options = {}, &block) ⇒ Object
Create a new undirected graph.
-
#strict(name, options = {}, &block) ⇒ Object
Create a new strict directed graph.
Instance Method Details
#digraph(name, options = {}, &block) ⇒ Object
Create a new directed graph
59 60 61 |
# File 'lib/graphviz/dsl.rb', line 59 def digraph(name, = {}, &block) GraphViz::DSL.new(name, .merge( { :type => "digraph" } ), &block).graph end |