Feat: add possibility to expand (drill down) several blocks at a time #369
Replies: 4 comments
-
Unless I've misunderstood, you can do this already; see https://docs.structurizr.com/dsl/cookbook/container-view-multiple-software-systems/ Example:
|
Beta Was this translation helpful? Give feedback.
-
as I wrote in the description that will not allow me the automatic click and drill down. And then I have to specify a matrix of all the possible variations. For example, imagine I have 10 Systems and see only 2 or 3 of them expanded not to clutter the view. Or am I missing something and this is somehow implemented? |
Beta Was this translation helpful? Give feedback.
-
Correct, and this is by design. The recommendation is 1 workspace = 1 software system, and I don't recommend showing containers outside of the scoped software system. See my "The C4 Model – Misconceptions, Misuses & Mistakes" talk for the rationale behind this. If you do want this feature, you'd need to modify the UI -> https://github.com/structurizr/ui Alternatively, something like Ilograph might provide a better UI. |
Beta Was this translation helpful? Give feedback.
-
thank you for the reply. Let me first get familiar with the talk |
Beta Was this translation helpful? Give feedback.
-
Description
Hello,
We are looking for a diagramming tool that can dynamically render the C4 model. For example, if two systems are defined, each with two containers, we want to define the model once and automatically visualize the connections between different levels and combinations.
I better illustrate this on the example of a simple org chart.
DSL Code
which renders perfectly fine into system context:
which renders fine from container in department-1 to department-2:
which renders fine from department-1 to container in department-2:
The challenge arises when a user wants to drill down into
department-1
while viewing Diagram3 (which shows the connection fromdepartment-1
to a container indepartment-2
). Without this feature, the user would need to rememberDiagram2
andDiagram3
and mentally connect the information themselves.See PlantUML example for the desired view:
PlantUML Code
It’s possible to add an explicit view to the DSL example above, but this doesn’t allow for automatic, selectable expansion of blocks. This becomes even more complicated as the number of systems increases, then one would need to generate a matrix of the possible view combinations.
Priority
I'm willing to pay for this feature (add details below)
More information
We can consider paying for the feature or trying to contribute it by ourselves
Beta Was this translation helpful? Give feedback.
All reactions