A worked example, rendered from real sample data. Sign in to run the tool on your own input.
User Management System
User {id, email, name}
Admin {role, permissions}
Profile {bio, avatar}
User -> Profile
Admin -> User{
"title": "User Management System",
"classes": [
{
"name": "User",
"attributes": [
"id",
"email",
"name"
],
"methods": [
"get()",
"set()",
"save()"
],
"id": "class0"
},
{
"name": "Admin",
"attributes": [
"role",
"permissions"
],
"methods": [
"get()",
"set()",
"save()"
],
"id": "class1"
},
{
"name": "Profile",
"attributes": [
"bio",
"avatar"
],
"methods": [
"get()",
"set()",
"save()"
],
"id": "class2"
}
],
"relationships": [
{
"from": "User",
"to": "Profile",
"type": "association"
},
{
"from": "Admin",
"to": "User",
"type": "association"
}
]
}
Generate UML class diagrams with classes, attributes, methods, and relationships. Part of the DevTools Surf developer suite. Browse more tools in the Diagrams & Workflows collection.