- In the canvas, open the insert menu (or press
- Select Diagram as Code then AI Diagram (or press
- Enter prompt using natural language or code snippet.
- (Optional) Select diagram type.
- Click "Generate".
Users can optionally select a diagram type manually. If not selected, Eraser AI will automatically choose the most suitable diagram type for the provided input.
The possible diagram types the same as what is available in diagram-as-code:
- Sequence Diagrams
- Entity Relationship Diagrams
- Cloud Architecture Diagrams
- Flow Charts
Updated 14 days ago