A free, text-based UML diagram creator with export functionality. Create sequence and class diagrams using simple syntax.
npm install
npm run dev
npm run build
npm run preview
sequence:
User -> Server: Login Request
Server -> Database: Validate Credentials
Database --> Server: User Data
Server --> User: Login Success
sequence:
User -> Server: Login
alt [valid credentials]
Server -> Database: Get User
Database --> Server: User Data
Server --> User: Success
else [invalid]
Server --> User: Failed
end
sequence:
User -> Server: Get Items
loop [for each item]
Server -> Database: Query Item
Database --> Server: Item Data
end
Server --> User: All Items
class:
Shape {
#color: string
#x: int
#y: int
+draw()
+getArea()
}
Circle extends Shape {
-radius: double
+draw()
+getArea()
}
Rectangle extends Shape {
-width: double
-height: double
+draw()
+getArea()
}
Canvas has Shape {
+shapes: List
+addShape()
}
Window owns Canvas {
+title: string
+show()
}
Shows: inheritance (extends), aggregation (has), composition (owns), and all visibility modifiers (+, -, #).
sequence:-> = Synchronous call/request (one object calling another)--> = Return/response message (returning data or acknowledgment)From -> To: MessageExample:
Client -> Server: Login Request (solid = call)
Server --> Client: Success Response (dotted = return)
loop [condition] ... end - Iterationalt [condition] ... else [condition] ... end - Conditionalsopt [condition] ... end - Optional flowpar ... end - Concurrent executionclass:+ for public members- for private members# for protected members+fieldName: type+methodName()Solid Lines:
ChildClass extends ParentClass → Solid line with hollow triangleContainer has Item → Solid line with hollow diamond (weak "has-a")Owner owns Part → Solid line with filled diamond (strong "owns-a")Dashed Lines:
MyClass implements IInterface → Dashed line with hollow triangleClassA uses ClassB → Dashed arrow (temporary usage)This app is ready to deploy to Vercel, Netlify, GitHub Pages, Cloudflare Pages, or any static hosting service.
📖 See DEPLOYMENT.md for complete deployment instructions.
npx vercel
The app includes a vercel.json configuration file for optimal deployment with proper SPA routing support.
MIT