UML class diagram

Classes with attributes and operations, inheritance, composition and dependencies.

1 uml class diagram examples

Invoice class model

An invoice that extends a document, implements a payable interface and owns its line items.

The arrowheads carry the meaning: a hollow triangle for inheritance, dashed for an interface, a filled diamond where the part dies with the whole. The class being implemented takes the accent.

Open in the editor