Ports snap onto components. Once snapped into place,
they remain attached when the component symbol moves or is copied.
If the component symbol is deleted, the port is deleted as well.
Simply select a port (or complex port) from the style bar,
drag it near a component (or class or package symbol), and let it
snap into place. Private port notation in which the port is entirely
within the classifier is supported as well.