Implied relationships for some filtered views aren't rendered #308
-
ExpectedWhen I create a filtered view, I expect to see all relationships and implied relationships that match the filter. ActualFor some implied relationships, the relationship does not render. Steps to reproduce
Version/build informationStructurizr Lite SeverityMajor PriorityI have no budget and there's no rush, please fix this for free More informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Further investigation indicates it's related to the alphabetical order of the tag names. |
Beta Was this translation helpful? Give feedback.
-
This is working as expected ... the implied relationships feature creates a relationship between
Moving to a discussion... |
Beta Was this translation helpful? Give feedback.
-
I see what you're saying, but it would be nice if a filtered view didn't just not display the items, but removed them from the underlying model -- if I'm assuming how it's working correctly. It appears that when rendering a filtered view, you're simply including or excluding Elements and Relationships that the condition from being displayed. The underlying model is unchanged. |
Beta Was this translation helpful? Give feedback.
Correct, because they are the first to be defined in your workspace, and the CreateImpliedRelationshipsUnlessAnyRelationshipExistsStrategy prevents more from being created, which is how it's designed to work. If you'd like to change this behaviour, you will need to build your own ImpliedRelationshipsStrategy implementation that sometimes adds tags to existing relationships. You may want to use CreateImpliedRelationshipsUnlessSameRelationshipExistsStrategy (source) as a starting point.