create_class_diagram
Generate UML class diagrams with class boxes, attributes, methods, and relationship arrows. Specify classes and relationships to produce an editable Excalidraw file.
Instructions
Create a UML class diagram.
Generates a class diagram with class boxes showing attributes and methods, connected by relationship arrows (inheritance, composition, etc.).
Args: classes: List of class definitions with name, attributes, and methods relationships: List of relationships between classes title: Optional diagram title output_path: Optional output file path theme: Color theme - "light" or "dark"
Returns: Absolute path to the generated .excalidraw file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light | |
| title | No | ||
| classes | Yes | ||
| output_path | No | ||
| relationships | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |