A web-based platform for creating UML diagrams with Mermaid export/import capabilities.
- Draw UML class and interface diagrams
- Create relationships between elements (inheritance, implementation, dependency, association)
- Add text annotations
- Export diagrams to Mermaid format
- Import diagrams from Mermaid format
This project follows Clean Architecture principles:
- Domain Layer: Contains the core business logic and entities
- Application Layer: Contains use cases and services
- Infrastructure Layer: Contains repositories and external services
- Presentation Layer: Contains the UI components
- Runtime: Bun - A fast all-in-one JavaScript runtime
- Framework: Svelte - A reactive UI framework
- Diagram Syntax: Mermaid - A diagramming and charting tool
- Bun v1.2.17 or later
# Install dependencies
bun install
# Start the development server
bun run dev
# Build the application
bun run build
# Preview the production build
bun run preview
- Select a tool from the toolbox on the left
- Click and drag on the canvas to create elements
- Connect elements by selecting a relationship arrow and clicking on source and target elements
- Double-click anywhere on the canvas to add text
- Double-click on an element to edit its text
- Click "Export to Mermaid" to generate Mermaid code
- Use the import feature to create a diagram from Mermaid code