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

references between containers now being displayed on system diagrams #100

Closed
pshomov opened this issue May 22, 2018 · 2 comments
Closed

Comments

@pshomov
Copy link

pshomov commented May 22, 2018

Hello,

Not sure if this is as intended but I have for example an User that uses a container and I would expect that relationship would show up when displaying system diagram for the system that owns the container and same user. Currently I have to resort to adding that connection at both levels to achieve what I want.

@simonbrowndotje
Copy link
Contributor

simonbrowndotje commented May 22, 2018

That's the intended behaviour, because you might not want the exact same relationship shown on different levels of diagram. There is an addImplicitRelationships method though (https://github.com/structurizr/java/blob/master/structurizr-core/src/com/structurizr/model/Model.java#L430) that will duplicate the user-container to user-system relationship.

@pshomov
Copy link
Author

pshomov commented May 22, 2018

Thank you @simonbrowndotje for the clarification. We met a few years back in Iceland but only now do I get a chance to put C4 model to good use. So far love structurizr, thank you!

@pshomov pshomov closed this as completed May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants