Event Modeler v0.2.0 - MVP Complete! 🎉
This is the first functional release of Event Modeler with a complete pipeline from text to diagrams.
What's New
Core Features:
- 📝 Parse
.eventmodel
text files - 🎨 Generate SVG diagrams with automatic layout
- 🌓 GitHub light and dark themes (
--dark
flag) - 🔗 Full connector support showing entity relationships
Supported Entity Types:
- Command
- Event
- Projection
- Policy
- External System
- Aggregate
Developer Experience:
- Clear error messages for all failure cases
- Example files in
examples/
directory - Comprehensive test coverage
- Full API documentation
Installation
Currently, install from source:
git clone https://github.com/jwilger/event_modeler
cd event_modeler
cargo build --release
# Add target/release to your PATH
Example Usage
# Create an event model
cat > order.eventmodel << 'END'
Title: Order System
Swimlane: Customer
- Command: PlaceOrder
Swimlane: Orders
- Event: OrderPlaced
- Projection: OrderList
PlaceOrder -> OrderPlaced
OrderPlaced -> OrderList
END
# Generate SVG (light theme)
event_modeler order.eventmodel
# Generate with dark theme
event_modeler order.eventmodel --dark
What's Changed
- Complete MVP implementation - full pipeline from .eventmodel files to SVG diagrams
- Text parsing of .eventmodel files with comprehensive error handling
- Dynamic layout computation with automatic canvas sizing based on content
- SVG rendering with GitHub light and dark themes
- Support for 6 entity types: Command, Event, Projection, Policy, External System, Aggregate
- Connector support for showing relationships between entities
- Dark theme support via
--dark
CLI flag - Comprehensive integration tests covering various scenarios
- Example .eventmodel files demonstrating features
- Error test cases for validation
Coming Next
- Additional entity types (UI/Wireframe, Query, Automation)
- Connector labels
- PDF export
- Installation via
cargo install
- Watch mode for live preview
Full Changelog: v0.1.4...v0.2.0