Component Diagram Port . The name of the port is placed near the small square. A component in uml represents a modular part of a system. UML Componen…