This repository was archived by the owner on Jan 10, 2024. It is now read-only.
Creating a view of elements that only have direct/indirect connection with selected element(s) #377
Replies: 1 comment
-
Expressions, a script or plugin can probably be used to achieve this. As always, an example DSL workspace would help provide a better answer though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's suppose I have a big complex diagram and I want to present only the part of it that is related to a relevant element of the system. Is it possible to create a view which would include only those elements of the model that have direct or indirect relationships with the element that I select?
I believe it would have been possible if there was a way to somehow filter by "ancestor" in an expression:
https://docs.structurizr.com/dsl/expressions
Or maybe it should be possible currently using expressions like
element.parent==<identifier> || element.parent.parent==<identifier> || element.parent.parent.parent==<identifier> || element.parent.parent.parent.parent==<identifier> ...
.Beta Was this translation helpful? Give feedback.
All reactions