UML Modeling Component diagrams are useful in showing high-level dependencies among elements, including source code, binary code, and executables. Some elements exist at compile time, link time, and run time, while other elements can exist at multiple times. In the IDE, you can work with components as follows:
The table below describes the pop-up menu functionality available when you right-click a Component that contains an interface or Assembly Connector.
Element | Pop-Up Menu Function |
---|---|
Ports | A submenu listing all Ports on the Component element. It lets you display or hide individual Ports by name. |
Port Locations | Moves the Ports from one side of the Component element to another. |
Distribute Port Interfaces | Makes all the lollipops (a provided interface) or sockets (a required interface) straight and, as much as possible, distributes the ports so that they do not overlap. |