Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Filter relations by tags #419

zeljkot started this conversation in Ideas
Apr 14, 2025 · 2 comments · 1 reply
Discussion options

Description

Relations may or may not exists depending on factors like deployment environment.
For example, in case od load balancing:

  • In VM environment, VM may include software load balancer
  • In Kubernertes, client will use Kubernetes Service, which is stand-alone entity.

It is also needed for re-arhitecting projects where compnents may be removed od replaced and one want to show both states.

Only way that I am aware of is to create as superset of relations in the model, and then to exclude them one-by-one, which is time-consuming and error prone.

Priority

Low (I have no budget and there's no rush, please add this feature for free)

More information

No response

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

It would be much simpler to just add tags to relations while designing the model and filter them by tags later on.

You must be logged in to vote
1 reply
Comment options

I don't think I understand what you are after from your post above, but maybe this helps?

structurizr/dsl#35 (comment)

e g

container springPetClinic "All_Containers_tag1_expectation2" {
 include "element.tag==tag1"
 exclude * -> *
 include "relationship.tag==tag1"
 autoLayout
}

(Just browsing after some solutions today, this caught my eye)

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
2 participants
Converted from issue

This discussion was converted from issue #405 on May 02, 2025 07:42.

AltStyle によって変換されたページ (->オリジナル) /