UMLComponentDiagram

UML Component Diagram.

Not designed for the general case. The design is what the plantuml plugin needs when analyzing more than one file. This is the container that is then passed between the analyze stages.

The relations are of the kind Fan-out.

Members

Functions

asArray
KeyComponent[] asArray()
nameSortedRange
auto nameSortedRange()
put
void put(Key key, DisplayName display_name)

The component is only added if it doesn't already exist in the store.

put
void put(Key key, Location loc)

Add a location that the component encapsulate

relate
void relate(Key from, Key to, DisplayName toDisplayName, Relate.Kind kind)

Add a relation between two components and increase the count on the class related TO.

relateTo
const(Relate) relateTo(Key k)

Use to retrieve the relation struct for the key.

relateToFlatArray
auto relateToFlatArray()

Return: Flat array of all relations of type FROM-KIND-TO-COUNT.

toString
void toString(scope Writer w)

String representation of the Component Diagram.

toString
string toString()

See Also

UMLClassDiagram

Meta