UMLComponentDiagram.relateTo

Use to retrieve the relation struct for the key.

class UMLComponentDiagram
const(Relate)
relateTo
pure const @safe
(
Key k
)
in { assert (k in components); assert ((cast(Relate.Key)k) in relate_to); }

Examples

diagram.relateTo(Key("foo")).put(Key("bar"), Relate.Kind.Associate);

Meta