Workbench / UML class editor

UML class editor

Sketch a class model with inheritance, interfaces, ownership and multiplicities.

Source editor

Class diagram

Diagram notation

      

Reading the result

Use Mermaid classDiagram syntax. Declare a class, add fields and methods, then connect two classes. A hollow triangle points toward the parent. A diamond sits at the owner end. Multiplicities describe how many objects can participate at each end.

Press Ctrl+Enter or ⌘+Enter to update. Edits are saved in this browser when local storage is available.