Book a Demo

Author Topic: Enhancing the Virtual Connector feature in EA  (Read 4893 times)

Marc Lampron

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Enhancing the Virtual Connector feature in EA
« on: November 17, 2023, 10:09:07 am »
Hi forum, on behalf of my organization, I am posting a feature proposal to see if there are interest in such a functionality and or other ideas you may see valuable in this context. The feature is about enhancing or replacing the not so user friendly “Virtual connector” trick.

We have encountered a challenge in the current version of Enterprise Architect (as of November 2023): there is no direct functionality that allows for the multiple visual representation of a class (or element) within the same diagram (except for the virtual connector trick). Such functionality would be crucial for simplifying diagrams where central classes are connected to many others, creating a visually complex network of links that can reduce clarity and hinder understanding.

I propose the addition of a feature that would enable users to create multiple visual representations of a class within the same diagram. These multiple representations would act as alternate views of the same element and would not be treated as distinct elements within the model. The primary aim here is to enhance diagram readability and the traceability of class/element relationships without altering the integrity of the underlying data model (or any other types of models or diagrams).

Ideally, each representation of the same element on a diagram could also have it own set of visual properties (color, font, size, visible compartments, etc.).
It also means that we can select each occurrence individually on the diagram. Whereas this is not possible with the current implementation of the not so friendly virtual connector trick. And may be a set of ctrl keys combined with the element selection click could select all representations of the same element on the diagram.

Adding a new relationship to one of those visual representations element on the diagram will add the connector to the real elements but the new link will only appear between the two element representations at both ends of the new relationship (source and target elements).

We have now to think about what will happen on other diagrams where the same elements are present.
There are 2 cases:

1. There are no multiple representations of the corresponding elements
As usual, the link is visually added on the diagram between the elements accordingly to the connector’s properties of the diagram: Show Relationships, Freeze Visible

2. There are multiple representations of the corresponding elements on the diagram
The link is added between only one of the multiple representations producing the shortest path or the path that cross the least number of relationships. 
With the additional possibility to manually reassign the link to another representation element if desired.


In order to maintain clarity with these multiple representations, we suggest an intuitive labeling system: if a class, let's say "Class A", is represented 3 times on the same diagram, the occurrences could be labeled as "Class A (1/3)", "Class A (2/3)", and "Class A (3/3)" respectively. This would indicate that they are visual copies and would show the total number of instances displayed in the diagram.

This approach ensures that users can quickly discern that these are not different and unique classes but different representations of the same class, thereby maintaining model integrity while improving understandability.

What do you think of this proposition ?
Should I send a feature request to Sparx ?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Enhancing the Virtual Connector feature in EA
« Reply #1 on: November 19, 2023, 02:52:02 pm »
Hi Marc,
A search of the forum will reveal many posts by me on Virtual Connector Ends (VCEs).  These posts may help in your understanding of the current issues around VCEs.  The concept is a viable way to allow multiple renderings of the same item on a single diagram.  A "relationship end" is important as it preserves the model - otherwise, it becomes just a picture.  As you'll see, some of my earliest postings go back over 7 years.  There has been NO movement as far as I can see.  I can see no point in your putting in a feature request, as the outcome will likely be the same.  However, I would suggest adding the naming convention you propose to the various suggestions previously made would be useful.

The REASON the individual VCEs don't have their own properties is that Sparx made (in my view) a fundamental architectural flaw in NOT creating these VCEs as real items in t_diagramobjects.  Consequently, their properties cannot be persisted.

So until they fix that problem, your suggestion is, unfortunately, "for naught".

Sorry to pour cold water on your suggestions, but as an EA Novice, you should be appraised of the realities of "feature requests".

Paolo
"Using EA (for 2 decades) in spite of EA, not because of it."
« Last Edit: November 21, 2023, 08:56:12 am by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Marc Lampron

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Enhancing the Virtual Connector feature in EA
« Reply #2 on: November 21, 2023, 04:26:44 am »
Thank you, Paolo for your response.

I was looking for advises like yours’s and possibly interest and support for my suggestion before diving for a feature request.
I will look at your previous postings on this topic and I will send a feature request for the multiple representations numbering.
Also, I am really a novice at posting here but I am an intense user of EA from version 10 so I know more about EA then a novice.  I don’t mind the novice tag but I would qualify myself more as an advance user since I am supporting the use of the SparxSystems tools (EA, WebEA, Prolaborate, PCS) in my organisation since many years.
Have a good one! 

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Enhancing the Virtual Connector feature in EA
« Reply #3 on: November 21, 2023, 04:22:12 pm »
Yeah that would be good. Just so happens I downloaded the IT4IT model from open group and imported in to sparx EA. One of the diagrams didn't seem to make sense so I tried importing the model into archi. Then the penny dropped. The IT4IT modellers had multiple instances of the same element on the diagram and because Sparx EA doesn't allow that it the diagram didn't import properly. Just a real world example of the limitation in Sparx EA causing an issue.
Happy to help
:)