Read any class at a glance
What each compartment, marker, and arrow means.
NameThe class, at the top
issuedOn: Date
total: Money
status: Status
AttributesThe data each object holds
markPaid(): void
addTax(): Money
OperationsWhat the class can do
- AssociationKnows about
- InheritanceIs a kind of
- RealizationImplements
- DependencyUses or calls
- AggregationHas shared parts
- CompositionOwns its parts
How to make a UML diagram
Four steps from a blank board to a shared diagram.
Open the UML library or a template.
The Sequence diagram template is free.
Drag in classes or lifelines.
Then add their fields and methods.
Connect them with the right arrow.
Inheritance, composition, or a message.
Share a view or comment link.
Reviewers comment right on the diagram.
Start from a UML template
Six UML layouts, from classes to components.
- Sequence diagram is free on every plan
- The other five come with Pro
- Every template opens as an editable board
Show how a request flows
Trace a sign-in from the browser to the database.
- Start free with the Sequence diagram template
- Rename lifelines and messages to match your system
- Pin a comment on any step and @mention a reviewer
Questions about UML diagrams
Still curious? Write to support@flowdraw.com
UML, the Unified Modeling Language, is a standard set of diagrams for describing software. Class diagrams show what a system is made of, and sequence, activity, and state machine diagrams show how it behaves. Use one to plan a design or to explain it to your team.
The Sequence diagram template is free on every plan. UML shapes and the other UML templates come with Pro.
Send a view or comment link, and reviewers pin comments on any class or message with @mentions. To use it elsewhere, export PNG, SVG, PDF, or JSON.
Use a class diagram to show structure: the classes, their fields and methods, and how they relate. Use a sequence diagram to show what happens over time, like the messages behind one sign-in.
Class, sequence, use case, activity, state machine, and component diagrams each have a template. With Pro, you can also draw your own from the UML shape library.
A plain line is an association. A hollow triangle means inheritance, or realization when the line is dashed. A dashed open arrow is a dependency, and a diamond marks aggregation when hollow and composition when filled.