Common Elements

Modeldraw provides several common UML elements that can be used across various diagram types. These elements are not specific to any single diagram but can be selected from the toolbox to enhance and provide additional information in multiple UML diagrams. These common elements help in adding notes, showing relationships, and organizing diagram content.

Key Elements

  • Comment

  • Comment Link

  • Dependency

  • Realization

  • Frame

Comment

A Comment is a textual annotation that can be added to a diagram to provide additional information, explanations, or notes about any element or the diagram as a whole. Comments are versatile and can be used in any type of UML diagram to enhance clarity and provide context.

A Comment Link is a dashed line that connects a Comment to a specific element in the diagram. It helps in associating the comment with a particular part of the diagram, making it clear which element the comment is referring to.

Dependency

A Dependency relationship indicates that one element in the model relies on another element. It's represented by a dashed line with an open arrow pointing from the dependent element to the element it depends on. Dependency can be used in various diagrams to show how changes in one element might affect another.

Realization

A Realization relationship indicates that an element implements or realizes the behavior specified by another element. It's often used to show how a class implements an interface but can be used in other contexts as well. Realization is typically represented by a dashed line with a hollow triangle pointing to the element being realized.

Frame

A Frame is a rectangular border that can be used to group elements together or to provide a context for a set of elements within a diagram. Frames can be labeled to indicate their purpose, such as showing alternative scenarios or focusing on a specific subsystem.

Last updated