Skip to content

Visualize a Domain with Structurizr #19

@Nagelfar

Description

@Nagelfar

For visualization and exploration purposes Structurizr can be used to display information and the connections of bounded contexts.

Mapping BCC towards the Structurizr / C4 model:

DDD concepts:

Domain -> Structurizr/Workspace
Subdomain -> C4/SoftwareSystem
BoundedContext -> C4/Container
Messages/Contracts -> C4/Component

BCC concepts:

Name -> C4/Container-name
Description -> C4/Container-Description
Strategic Classification -> C4/Container-TAGs / Container-Properties
Business Decisions -> Markdown documentation
Ubiquitous Language -> Markdown documentation
Model Traits -> C4/Container-TAGs
Messages Consumed & Produced ~> Component references (TODO: message level?)
Dependencies/Relationships -> Structurizr/"uses" + tags for releationships

Visualizations:

Domain / global context map -> Structurizr/Workspace linking + SystemLandscapeDiagram
Context map within domain -> Structurizr/SystemLandscapeDiagram

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions