Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregate Root in Context map #14

Open
xenoterracide opened this issue Oct 5, 2021 · 7 comments
Open

Aggregate Root in Context map #14

xenoterracide opened this issue Oct 5, 2021 · 7 comments

Comments

@xenoterracide
Copy link

How can I show the aggregate root in the context map? e.g. this picture from Domain Driven Design Distilled
Context Map with Aggregates

@stefan-ka
Copy link
Member

Thanks for reporting this one; would be a very nice feature, I agree 👍

Contributions are always welcome, by the way ;)

@stefan-ka stefan-ka transferred this issue from ContextMapper/contextmapper.github.io Oct 5, 2021
@xenoterracide
Copy link
Author

maybe, probably not, too much to do. Much more important open source projects to deal with, like forking immutables. though this is kind of a key feature to me since plantuml already exists but has no way to do context maps. context maps plus "event storming" is kind of what I was looking for. Especially with the ability from CI. Just commenting on level of importance.

@tk
Copy link

tk commented Mar 25, 2022

I tried to find a Graphviz structure that would support this representation, but subgraphs only have rectangle shapes.

@ceilfors
Copy link

ceilfors commented Jan 25, 2024

@stefan-ka Would be lovely to have this.

Alternatively, I was trying to make this work via PlantUML, because it's capable of generating Module i.e. use that as a means to generate a grouping of aggregates.

Unfortunately, I discovered that the PlantUML generator doesn't show the relationship between bounded contexts. Maybe a simpler solution is to get PlantUmlGenerator to have the ability to generate aggregates for the entire context map?

I'm referring to this diagram (from this page), it'll be great if this sort of diagram can be generated to contain multiple bounded contexts, and only focus on showing aggregate, entity, value objects, relationships (omit all other properties).

image

@stefan-ka
Copy link
Member

Hi @ceilfors
That's actually a nice idea, thanks!
We'll have to see how we handle that with the references between Bounded Contexts, but I'll look into it and keep your idea in mind.
Thanks and best regards,
Stefan

@ceilfors
Copy link

@stefan-ka Looking forward to it!

Out of curiosity, without this idea, how do you currently show that high-level picture of aggregate+BCs via context mapper? Any workaround to that? :)

@stefan-ka
Copy link
Member

@ceilfors, we actually don't have that yet. There is the Context Map and the PlantUML component diagram that both illustrate relationships between Bounded Contexts. But we don't have such a diagram that goes down to the Aggregate level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants