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()
Undocumented in source.

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
auto component(string name)

Make a UML component without any content.

componentBody
auto componentBody(string name)

Make a UML component with content.

digraph
auto 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
auto namespace(string name, Flag!"addSep" separator)

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

note
auto note(string name)

Make a floating note.

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

Make a relation between two things in plantuml.

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

Raw relate of a "type" b.

Mixins

__anonymous
mixin Attrs
Undocumented in source.
__anonymous
mixin PlantumlBase
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.

From mixin PlantumlBase

_
auto _()

Access to self.

empty
auto empty()

An empty node holdig other nodes.

comment
auto comment(string comment)

Make a Comment followed by a separator.

text
auto text(string content)

Make a raw Text.

base
auto base()

A basic building block with no content.

stmt
auto stmt(string stmt_, Flag!"addSep" separator)

Make a statement with an optional separator.

suite
auto suite(string headline, Flag!"addSep" separator)

Make a suite/block as a child of "this" with an optional separator.

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
auto 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