Geometric shapes are non-UML model elements that you use in freeform diagrams. Geometric shapes are basic shapes (such as a rectangle) in a diagram that are not associated with a UML model element and do not have any UML semantics. Geometric shapes have no meaning in UML.
You can use geometric shapes to add visual interest to a UML diagram by annotating the diagrams in your model with various shapes and symbols. For example, in a freeform diagram, you can use geometric shapes to create an organization chart for your software development team. In a use case diagram, you can use a rectangle to separate the internal use cases from the external actors.
Geometric shapes have default names, but you can specify a name that identifies the meaning or purpose you give to the shape.
You can add the following shapes to your diagrams:
Label | Shape |
---|---|
3D Rectangle | ![]() |
Cylinder | ![]() |
Diamond | ![]() |
Hexagon | ![]() |
Line | ![]() |
Octagon | ![]() |
Oval | ![]() |
Pentagon | ![]() |
Polygon | ![]() |
Rectangle | ![]() |
Rounded Rectangle | ![]() |
Shadow Rectangle | ![]() |
Triangle | ![]() |