Multi-domain (integration)
Several hexagons and the contracts between them.
- Format.puml
- Length19 lines
- Diagramhex
- Includesnone
The source
19 lines of PlantUML (hex), and needs nothing beyond the bundled engine. Copy it, or open the template inside Gnomon and render it as it is.
@starthex
Channel("order.placed")
Service(orders, "Order Service") {
Domain("Ordering")
Module("Cart")
Module("Checkout")
Driving("Consumer", "REST API")
Publish("order.placed", "Event Publisher")
}
Service(shipping, "Shipping Service") {
Domain("Shipping")
Module("Dispatch")
Module("Tracking")
Consume("order.placed", "Event Handler")
Driven("Repository", "SQL Database")
}
@endhexRender this offline
This template ships in Gnomon and renders on your machine, with no account and no diagram uploads. The browser editor is free and needs no install.
Others in Hexagonal architecture diagrams
- Hexagonal ServiceOne service, its ports and its adapters.
- Hexagonal Application (concentric)Concentric view: domain, application, infrastructure.