Module: Graphviz::Diagram
- Defined in:
- lib/graphviz/diagram.rb,
lib/graphviz/diagram/version.rb,
lib/graphviz/diagram/record_label.rb,
lib/graphviz/diagram/class_diagram.rb
Overview
A name space for all types of diagram figures
Defined Under Namespace
Classes: ClassDiagram, RecordLabel
Constant Summary collapse
- VERSION =
'0.0.3'
Class Method Summary collapse
Class Method Details
.new(type = :class_diagram, opts = {}) ⇒ Object
11 12 13 14 15 |
# File 'lib/graphviz/diagram.rb', line 11 def self.new(type = :class_diagram, opts = {}) case type.to_sym when :class_diagram then ClassDiagram.new opts end end |