Book a Demo

Author Topic: Attaching a diagram to an existing connector  (Read 2944 times)

supplyondemand

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Attaching a diagram to an existing connector
« on: July 18, 2012, 11:47:22 pm »
Hello,

I wonder if it is possible to attach an element (i.e. a diagram) to an existing connector (that is already connecting two elements or two attributes respectively)?

The (simplified) use case is: I want to model the relationship between attributes of EDIFACT messages and XML formats.

I can do this by defining classes for the EDIFACT and XML and connect their attributes (Link to element feature). This works well for the simple case of a direct transformation EDIFACT -> XML. And this connection / relationship is the main information I want to model.

However, it is possible that the value of the EDIFACT message is not simply copied to the XML but a more complex process is carried out to make the transformation.

So my idea is to model the relationship between two attributes through a connection (i.e. assoziation) and attach a process diagram if necessary.

Is this possible / feasible?

Thanks a lot for any input.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Attaching a diagram to an existing connector
« Reply #1 on: July 19, 2012, 12:05:41 am »
A connector always connects two elements. And never a diagram.

In your case you should use an association class (displays as a lozenge. This can connect more than one element.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Attaching a diagram to an existing connector
« Reply #2 on: July 19, 2012, 03:17:37 pm »
If by "process diagram" you mean Activity Diagram, then I would try to link an Activity (containing that Activity Diagram) to the connector.

You can use a tagged value of type RefGUID to create the link.

(you can navigator from the relation to the activity and back using my EA Navigator Add-in)

Geert