Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: michielper on May 16, 2018, 04:48:35 pm

Title: Versioning of connectors
Post by: michielper on May 16, 2018, 04:48:35 pm
I would like to model a situation where I have a number of elements who's connections change over the system lifecycle. So, the components remain the same but the connections between them are different between versions.
Of course, one way to do this is by simply making different views (diagrams) in which different connectors are shown. This may be a useful approach if it's only the pictures that matter but not if the model itself is important, e.g. when generating reports or when simulating the model.
Another approach is to create copies of the elements but this creates a maintenance problem and is very inelegant.

So what other options do I have?

Thanks for any help!
Title: Re: Versioning of connectors
Post by: qwerty on May 16, 2018, 06:14:51 pm
Not too many I guess. You could eventually use a tagged value and some scripting. Anyhow, keeping multiple versions of the same thing in parallel will soon end up in a maintenance hell. I doubt those are worth it. Paolo might have a different opinion.

q.
Title: Re: Versioning of connectors
Post by: Nizam on May 16, 2018, 07:25:57 pm
We use status on Connectors to indicate 'live' / 'proposed' and use diagram filters to show / hide connectors of current state / proposed state

I can use the same parameter to drive my reports too,
Title: Re: Versioning of connectors
Post by: michielper on May 17, 2018, 07:36:40 pm
We use status on Connectors to indicate 'live' / 'proposed' and use diagram filters to show / hide connectors of current state / proposed state

I can use the same parameter to drive my reports too,

As far as I can see, connectors have no Status attribute... This is an omission in the tool I think; I don't see why connectors would not need a Status indication just like other elements. By connecting this status with the status of the diagram, my problem would probably be solved.
Of course, you can add a status tag, is that what you mean?
Diagram filters are not very useful. They are purely a visual aid and work globally, over all diagrams :-(.
Title: Re: Versioning of connectors
Post by: Nabil on May 17, 2018, 08:40:55 pm
Of course, you can add a status tag, is that what you mean?

Yes I guess Nizam talks about adding a custom tag to connector. Also Diagram Legend can be used to highlight to color based on status

BR
Nabil