Command \umlassemblyconnector#

An assembly connector is a relation between 2 different components. It is graphically the provided interface of one of them with the required interface of the other. For that purpose, you can use the \umlassemblyconnector command:

\umlbasiccomponent{A}
\umlbasiccomponent[x=4, y=-2]{B}
\umlassemblyconnector[interface=AB]{A}{B}
\umlHVassemblyconnector[with port]{A}{B}

Figure made with TikZ

Figure made with TikZ