Menu

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

     
    • Ovidiu Gheorghies

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

      Best regards,
      Ovidiu

       
    • Ovidiu Gheorghies

      Feature added to release.

       

Log in to post a comment.