In Gliffy Online and Gliffy for Confluence v6.0 and above, you can add cardinality to your UML lines. If you drag a UML connector line onto the canvas, you will notice some cardinality boxes appear on each side. You can then use these to add cardinality to your UML diagram.