UML Aggregation with and without arrow head

前端 未结 4 1352
轻奢々
轻奢々 2021-01-02 10:43

I always thought that the UML aggregate is defined as a black (filled) diamond at the beginning of a path and no arrow head that the end:

|--------|        |         


        
4条回答
  •  盖世英雄少女心
    2021-01-02 11:33

    One arrow means the association is navigable this way. No arrows means the association is navigable BOTH ways. Two arrows are omitted.

    It could be a problem, because two ends with undefined navigability look out the same way, but it is the standard.

    You can read more thoroughly about associations/navigability/aggregations in this my answer https://stackoverflow.com/a/21478862/715269

提交回复
热议问题