You can add cardinality to your UML lines. When you drag a UML connector line from a shape library to the drawing canvas, cardinality boxes appear on each side. Double-click the box to add cardinality to your UML diagram.