UMLClassDiagram.relateTo

Use to retrieve the relation struct for the key.

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

Examples

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

Meta