Black Friday race Join
UML DIAGRAM

Draw UML diagrams
your whole team can read

Lay out classes, sequences, and states with proper UML shapes.
Share one link, and reviewers comment right on the diagram.

Checkout service
ML 100% Share
Customer- id: UUID- name: String# email: String+ placeOrder(): Order
Order- id: UUID- status: Status# placedAt: Date+ total(): Money+ pay(m: PaymentMethod)
«interface»PaymentMethod+ charge(amount): Receipt+ refund(amount): Receipt
OrderLine- quantity: int- unitPrice: Money+ subtotal(): Money
Card- last4: String+ charge(amount)
Wallet- token: String+ charge(amount)
places
1
0..*
1
1..*
pays with
1

Read any class at a glance

What each compartment, marker, and arrow means.

Invoice

NameThe class, at the top

number: String
issuedOn: Date
total: Money
status: Status

AttributesThe data each object holds

send(email): void
markPaid(): void
addTax(): Money

OperationsWhat the class can do

VisibilityPublicPrivateProtected
  • 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.

  1. Open the UML library or a template.

    The Sequence diagram template is free.

  2. Drag in classes or lifelines.

    Then add their fields and methods.

  3. Connect them with the right arrow.

    Inheritance, composition, or a message.

  4. 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 diagramFree
  • UML classPro
  • Use case diagramPro
  • Activity diagramPro
  • State machine diagramPro
  • Component diagramPro
  • 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.

Ready to draw your first UML diagram?

Lay out classes, sequences, and states with proper UML shapes.

Get started free