Hexagonal Service
One service, its ports and its adapters.
- Format.puml
- Length8 lines
- Diagramhex
- Includesnone
The source
8 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
Title("Order Service")
Domain("Domain")
Module("Order · LineItem")
Module("Place / Cancel")
Driving("Consumer", "REST API")
Driven("Order Repo", "PostgreSQL")
@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 Application (concentric)Concentric view: domain, application, infrastructure.
- Multi-domain (integration)Several hexagons and the contracts between them.