class Cruml::DiagramRender

Overview

Consists of generating a class diagram. See https://mermaid.js.org/syntax/classDiagram.html

Defined in:

diagram_render.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path_dir : Path) #

The directory path must be passed as argument when instantiating this class.


[View source]

Instance Method Detail

def generate(class_list : Cruml::ClassList) : Nil #

Generate a class diagram. A Cruml::ClassList class must be passed as parameter


[View source]
def save : Nil #

Save the class diagram as a HTML file.


[View source]