structurizr / java

Structurizr for Java
https://docs.structurizr.com/java
Apache License 2.0
1.01k stars 288 forks source link

Let RelationshipView be a PropertyHolder #316

Closed klu2 closed 2 months ago

klu2 commented 2 months ago

Description

Right now, RelationshipView contains the Relationship which is a PropertyHolder, but the RelastionshipView (although it has its own name and description) does not provide properties.

Still, that could be helpful especially in SequenceDiagrams where multiple dependencies between two components could be shown in parallel and different properties could be printed on the diagram on each connector, but right now we can only use alsways the same getProperties() from the underlying Relationship

Letting RelationshipView be a PropertyHolder would be a quite straight-forward; what we would need to come up with is a strategy how (and if) to delegate to the relationship.getProperties() when printing diagrams.

Priority

I'm willing to add this feature myself and raise a PR (please confirm approach first)

More information

No response