class Cruml::DiagramRender
- Cruml::DiagramRender
- Reference
- Object
Overview
Consists of generating a class diagram. See https://mermaid.js.org/syntax/classDiagram.html
Defined in:
diagram_render.crConstructors
-
.new(path_dir : Path)
The directory path must be passed as argument when instantiating this class.
Instance Method Summary
-
#generate(class_list : Cruml::ClassList) : Nil
Generate a class diagram.
-
#save : Nil
Save the class diagram as a HTML file.
Constructor Detail
def self.new(path_dir : Path)
#
The directory path must be passed as argument when instantiating this class.
Instance Method Detail
def generate(class_list : Cruml::ClassList) : Nil
#
Generate a class diagram.
A Cruml::ClassList
class must be passed as parameter