Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Realization

2006-03-26
2013-04-22
  • Dominic Battre
    Dominic Battre
    2006-03-26

    Hi.

    As it is a piece of cake to implement a relization arrow (see http://www.omg.org/cgi-bin/doc?formal/05-07-04 page 125 (141 in pdf)), it would be great if you could add this in the next release.

    Here is the code for metauml_class_relations.mp:

    vardef RealizationInfo@# =
      LinkInfo@#;

      @#widthA      = 0;
      @#heightA     = 0;
      @#drawMethodA = "drawNothing";

      @#widthB      = defaultRelationHeadWidth;
      @#heightB     = defaultRelationHeadHeight;
      @#drawMethodB = "drawTriangle";

      @#drawMethod = "drawLineDashed";
    enddef;

    RealizationInfo.realization;

    Thanks for the great work!!!  The quality of the images generated with MetaUML is really outstanding.

    Dominic

     
    • Thanks for the code, it will go straight into the next release, in a couple of days time.

      Best regards,
      Ovidiu

       
    • Feature added to release.