UML Diagram Tool
Class and use-case diagrams on an editable canvas.
Try it: Document a small order domain
- Inspect the Order, Customer, OrderLine and Payable example.
- Replace attributes and method names with those in your own model.
- Review relationship labels and arrow types before exporting.
The editor draws diagrams; it does not compile UML, generate code or validate multiplicity and composition rules.
About UML Diagram Tool
UML is worth using for the parts people actually read: class structure and the relationships between types. The rest of the specification is rarely the point.
Class boxes, interfaces, inheritance and association connectors.
The starting diagram is a small domain model: Order, Customer and OrderLine classes and a Payable interface, joined by two diamond-ended connectors labelled 1 … * and a dashed implements line ending in a triangle.
How UML Diagram Tool works in your browser
Class boxes have a name header above a list of members, attributes first and operations after them, because that layout is what makes a class diagram scannable by anyone who has seen one before.
The UML tab offers Class, Interface, Actor, Use case, Package and Note. Members go in the Rows (one per line) field, drawn in a monospaced font; there is no dividing line between attributes and operations. The box does not grow with its rows, so drag the corner handle or set Height as you add members.
Relationships can use their conventional notation: set End to Triangle for inheritance, or None for a plain association. The distinction between "is a" and "has a" is the main thing a class diagram communicates, and drawing both as the same line loses it.
Triangle, Diamond and Circle markers are hollow, so aggregation can be drawn but filled composition cannot. Tick Dashed line for realisation or dependency. Package is a dashed container drawn behind other shapes; moving it does not move the classes on it.
Drawing by hand rather than generating from code is deliberate here. A diagram of the design you intend is a different and often more useful document than a diagram of every class that currently exists.
When to use it
Designing a domain model before writing the code. Documenting the important types in a system for someone joining it. Explaining an inheritance hierarchy in a design review. Sketching a structure during a discussion without generating it from a codebase. Drawing a use-case diagram with actors and use cases for a requirements document.
Frequently asked questions
Can I generate a diagram instead of drawing it?
Not on this canvas. Text to Diagram renders Mermaid class and sequence diagrams as a finished SVG or PNG; a diagram generated that way cannot be opened here for editing.
Which UML elements are supported?
Class boxes, interfaces, inheritance and association connectors — the parts of UML that get used in practice rather than the whole specification.
Is this full UML?
No, and deliberately so. It covers structural diagrams for documenting a design, not the complete notation with every diagram type.