🇺🇸 English | 🇺🇦 Українська
A convenient tool for automatically creating and updating UML diagrams based on your Unity code. Generates up-to-date class diagrams with complete representation of relationships between your project components, preserving your layout, styles, and arrow configurations.
- Automatic UML diagram creation: Generate class diagrams based on your Unity project code
- Layout preservation: Update existing diagrams without losing element positioning
- Relationship analysis: Automatic detection of inheritance and associations between classes
- Contextual tooltips: Automatically add tooltips with context for classes, methods, and fields
- Git integration: Option to automatically update diagrams after commits
- Customization: Flexible parameters to control the diagram generation process
- Add Unity-AI-Context to your Unity project via Package Manager.
- Configure Unity-AI-Context
- Add this package to your Unity project via Package Manager
- Ensure you have Python 3.x installed
- Create settings through the "Expecto/Drawio Diagram/Create Settings" menu
- Configure parameters through the "Expecto/Drawio Diagram/Open Settings" menu
- Specify the Python path and output directory for diagrams
- Generate diagrams through the "Expecto/Drawio Diagram/Generate Drawio Diagram" menu
- Optional: add a Git hook for automatic diagram updates after commits
- Python Path: Path to the Python executable or simply "python" if available in PATH
- Output Directory: Directory for saving generated drawio files
- Cleanup Classes: Automatically remove classes that no longer exist in the codebase
- Cleanup Arrows: Automatically remove arrows for non-existing relationships
- Unity 2019.1 or newer
- Python 3.x
- Draw.io (for viewing generated diagrams)