PlantumlModule

Semantic representation in D of PlantUML elements.

Design: All created instances are stored internally. The returned instances is thus to allow the user to further manipulate or add nesting content.

Constructors

this
this()

Defualt c'tor.

Members

Functions

classBody
ClassType classBody(string name)

Make a UML class with content (methods, members).

class_
ClassType class_(string name)

Make a UML class without any content.

component
ComponentType component(string name)

Make a UML component without any content.

componentBody
ComponentType componentBody(string name)

Make a UML component with content.

digraph
Suite!PlantumlModule digraph(string name, Flag!"addSep" separator = Yes.addSep)

Make a PlantUML block for an inline Graphviz graph with an optional separator. The separator is inserted after the block.

namespace
Suite!PlantumlModule namespace(string name, Flag!"addSep" separator = Yes.addSep)

Make a UML namespace with an optional separator. The separator is inserted after the block.

note
NoteType note(string name)

Make a floating note.

relate
Relation relate(T a, T b, Relate relate)

Make a relation between two things in plantuml.

unsafeRelate
RelationType unsafeRelate(string a, string b, string type)

Raw relate of a "type" b.

Inherited Members

From BaseModule

suppressIndent
void suppressIndent(int levels)

Set indent suppression from this point and all children.

suppressThisIndent
void suppressThisIndent(int levels)

Suppress indentation by also affecting the level propagated from the parent.

setIndentation
void setIndentation(int ind)

Sets the width of the indentation

reset
BaseModule reset()

Clear the node of childrens.

sep
void sep(int count = 1)

Separate with at most count empty lines.

prepend
void prepend(BaseElement e)

Insert element at the front.

append
void append(BaseElement e)

Insert element at the back.

clearChildren
void clearChildren()

Remove all children and clear line separation.

indent
string indent(string s, int parent_level, int level)

Render content with an indentation that takes the parent in consideration.

Meta