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
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(Writer w)

String representation of the Component Diagram.

toString
string toString()

Structs

DisplayName
struct DisplayName
Undocumented in source.
Key
struct Key
Undocumented in source.
Location
struct Location
Undocumented in source.

See Also

UMLClassDiagram

Meta