Build class diagrams in Raltey
Raltey drafts UML class diagrams from a domain description or pasted code. Visibility, types, and relationships (association, aggregation, composition, inheritance) are inferred automatically.
This guide is built on the flow chart canvas. Raltey has three native canvases today: flow charts, mind maps, and database schemas.
Built for class diagrams that ship.
- Generate from a prompt or paste source code.
- Auto-infer relationships and cardinality.
- Public, private, protected visibility, abstract classes, interfaces.
Type, paste, done.
From prompt to class diagram in three steps.
- 01
Prompt or paste
Describe the model or paste real source code.
- 02
Refine relationships
Adjust cardinality, change inheritance to composition, etc.
- 03
Export
Share, export, or attach the diagram to a design doc.
Who uses it
- Design docs
- Code reviews
- Refactor planning
- Teaching OOP
Why Raltey for this
- Paste real source code and the AI extracts the model.
- AI suggests refactors (extract interface, collapse hierarchy).
Frequently asked
Does it support interfaces and abstract classes?
Yes, with the standard UML notation (stereotypes, italics).
Is it free?
Raltey's Free plan includes the AI agent, 5 projects, 7 AI generations per month, 50 shapes per project, up to 3 guests who can view live and comment, all three diagram types, and the GitHub integration with manual sync. No credit card required.
Other diagram guides
Build your first class diagram in Raltey
Free plan includes the AI agent. No card required.