How to make a depending relation between a class and a component in Enterprise Architect

StackOverflow https://stackoverflow.com/questions/23344769

  •  11-07-2023
  •  | 
  •  

Question

I'm updating the existing documentation of a project I've done. In short, I have to add a new library to communicate the application with a new hardware the client wants to use. So far so good.

So in EA I went to the existing diagram and added a new component. I have a class that acts as controller for the actions this new hardware is going to do, so in the new implementation of the system, this class depends on the new component.

I tried to create a new dependency relationship between them, but when I release the mouse, a popup appears telling me that the connector used between origin and destination elements is not permitted. It prompts me with valid relationships between a class and a component. In that list I can see the dependency relationship, which is the one I'm trying to set up.

This is the popup:

enter image description here

Any ideas of what am I doing wrong?

Thank you in advance.

Was it helpful?

Solution

To me, it looks like some other Model validation is in place. What MDG Technologies do you have enabled? Which Toolbox / diagram are you using. Go to Settings -> MDG Technologies and try to unselect the ones that are not standard with EA and try again, it must work.

PS - Works fine for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top