Add a label to an existing relation.
The meaning of LabelPos. A "Left" -- "Right" B : "OnRelation"
1 auto m = new PlantumlModule; 2 auto c0 = m.class_("A"); 3 auto c1 = m.class_("B"); 4 auto r0 = m.relate(c0.name, c1.name, Relate.Compose); 5 r0.label("foo", LabelPos.Right);
See Implementation
Add a label to an existing relation.
The meaning of LabelPos. A "Left" -- "Right" B : "OnRelation"