Logo
NeoArc Studio

Domain Design

Create domain-driven design diagrams including bounded context maps, event storming results, and API design documentation.

Domain-driven design (DDD) diagrams document bounded contexts, context relationships, and domain events. These diagrams help teams understand domain boundaries and integration patterns.

Bounded Context Maps

Bounded context maps show:

Creating Context Maps

Context Relationship Patterns

PatternRepresentation
Shared KernelShared model subset, bidirectional line
Customer-SupplierUpstream/downstream, directed arrow
ConformistDownstream conforms to upstream
Anti-Corruption LayerTranslation layer, ACL notation
Open Host ServicePublished API
Published LanguageShared schema or protocol

Event Storming Results

Capture event storming workshop outputs:

ElementColour
Domain EventsOrange sticky notes
CommandsBlue sticky notes
AggregatesYellow sticky notes
PoliciesPurple sticky notes
External SystemsPink sticky notes
ActorsSmall yellow for users

Creating Event Storming Diagrams

API Design Diagrams

Document API structure visually:

Creating API Diagrams

Best Practices

Start with Events
Domain events drive design.
Define Boundaries Clearly
Ambiguous boundaries cause problems.
Document Integration
How contexts communicate matters.
Keep Context Maps Current
Update as domains evolve.
Collaborate with Experts
DDD is a team activity.
Link to Code
Connect diagrams to implementations.