structurizr / dsl

Structurizr DSL
https://docs.structurizr.com/dsl
Apache License 2.0
1.41k stars 265 forks source link

Allow tags in dynamic view relationships #178

Closed dgutson closed 1 year ago

dgutson commented 1 year ago

Relationships in dynamic views don't allow to specify a tag, which would make sense when only "instantiating" previously defined relationships. However, dynamic views do accept new relationships that it will define. In this case, it does make sense to be able to add a tag. This is specially useful if I don't want the relationship to show up in other diagrams, so I can use exclude .

simonbrowndotje commented 1 year ago

The recommended approach here is to define relationships first if you need to add tags, properties, etc.