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)

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)

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.

Mixins

__anonymous
mixin Attrs
Undocumented in source.
__anonymous
mixin PlantumlBase!(PlantumlModule)
Undocumented in source.

Mixed In Members

From mixin Attrs

attrs
string[string] attrs;
Undocumented in source.
opIndex
auto opIndex(T kvs)
Undocumented in source. Be warned that the author may not have intended to support it.
opDollar
auto opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.

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)

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.

renderIndent
string renderIndent(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
renderRecursive
string renderRecursive(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
renderPostRecursive
string renderPostRecursive(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
render
string render()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta