Author Topic: Visualising Classifier Relationships  (Read 5309 times)

Polymorph

  • EA User
  • **
  • Posts: 121
  • Karma: +4/-0
    • View Profile
Visualising Classifier Relationships
« on: April 20, 2016, 10:34:54 pm »
If I create block A in package A, block B in package B and then select block B as the classifier for block A, I'd like to see (visually) the relationship between the two elements. Is it possible to visualise classifier relationships in the EA relationship matrix (or any other kind of diagram)?

Guessing no...

qwerty

  • EA Guru
  • *****
  • Posts: 9202
  • Karma: +140/-131
  • I'm no guru at all
    • View Profile
Re: Visualising Classifier Relationships
« Reply #1 on: April 20, 2016, 10:54:12 pm »
You are right. The only thing you can do is to write a little query that finds the classifier for the selected element.

q.

PeterHeintz

  • EA User
  • **
  • Posts: 629
  • Karma: +38/-14
    • View Profile
Re: Visualising Classifier Relationships
« Reply #2 on: April 20, 2016, 11:32:09 pm »
Do not understand that.
What do you mean with classifying a classifier?
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 9202
  • Karma: +140/-131
  • I'm no guru at all
    • View Profile
Re: Visualising Classifier Relationships
« Reply #3 on: April 21, 2016, 12:43:22 am »
Not classifying but visualizing.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8027
  • Karma: +183/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Visualising Classifier Relationships
« Reply #4 on: April 21, 2016, 12:46:49 am »
I think the traceability view will also show these relations (if you turn it on in the view's options)

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 9202
  • Karma: +140/-131
  • I'm no guru at all
    • View Profile
Re: Visualising Classifier Relationships
« Reply #5 on: April 21, 2016, 01:53:03 am »
Geert is right. There's the Classifiers option available. I once stopped using it for out of performance reasons, but is has been reported to be fixed.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1189
  • Karma: +91/-6
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Visualising Classifier Relationships
« Reply #6 on: April 21, 2016, 11:24:33 pm »
Well.... Fixed-ish. ;)

But the instance/classifier relationship is not defined as a connector in UML so there's no way to show it with a diagram link. And since relationship matrices show connectors you can't get it that way either.

You can always write a search for it. That will at least give you a table view.


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 9202
  • Karma: +140/-131
  • I'm no guru at all
    • View Profile
Re: Visualising Classifier Relationships
« Reply #7 on: April 22, 2016, 06:10:41 am »
I rather meant the performance issue. I guess I learned living without this feature.

q.

Polymorph

  • EA User
  • **
  • Posts: 121
  • Karma: +4/-0
    • View Profile
Re: Visualising Classifier Relationships
« Reply #8 on: April 25, 2016, 10:58:40 pm »
Thanks everyone - the traceability view trick is most helpful

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6033
  • Karma: +73/-83
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Visualising Classifier Relationships
« Reply #9 on: April 26, 2016, 09:41:15 am »
Well.... Fixed-ish. ;)

But the instance/classifier relationship is not defined as a connector in UML so there's no way to show it with a diagram link. And since relationship matrices show connectors you can't get it that way either.

You can always write a search for it. That will at least give you a table view.


/Uffe
So why not create one?  Ours («InstanceOf») is an extension of the metatype «Abstraction».

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

YogaMatt

  • EA User
  • **
  • Posts: 99
  • Karma: +8/-0
    • View Profile
Re: Visualising Classifier Relationships
« Reply #10 on: May 03, 2016, 06:08:07 pm »
Well.... Fixed-ish. ;)

But the instance/classifier relationship is not defined as a connector in UML so there's no way to show it with a diagram link. And since relationship matrices show connectors you can't get it that way either.

You can always write a search for it. That will at least give you a table view.


/Uffe
So why not create one?  Ours («InstanceOf») is an extension of the metatype «Abstraction».

Paolo

This view has my support.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1189
  • Karma: +91/-6
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Visualising Classifier Relationships
« Reply #11 on: May 03, 2016, 06:47:39 pm »
Yes, but that's not quite the same thing. You are then adding a connector to represent the instance/classifier relationship, so in effect there are now two relationships between the two elements: the instance/classifier, and the connector.

That's fine if it suits your purposes, but it's not formally correct so shouldn't be implemented that way by Sparx.

What they might do is implement a "non-connector" connector, kind of like the link between an association class and its corresponding association connector. That's a link that can be seen in the diagram, but which cannot be selected or otherwise interacted with. It's not a connector, in fact, so it's even weaker than a NoteLink (which is a connector).

An diagram option to switch on presentation of such instance/classifier links (default off, current behaviour) would get my vote.

/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 9202
  • Karma: +140/-131
  • I'm no guru at all
    • View Profile
Re: Visualising Classifier Relationships
« Reply #12 on: May 03, 2016, 07:42:18 pm »
Hmmm. What about nesting? UML has those nesting connectors which I always found suspicious.

Besides relations there is a structural representation (for packages, ports, nested classes, attributes, operations). I think there are two classes of navigation: one via structure and one via relations. I guess the classification is a structural navigation and thus should be visible in a structural browser only.

UML is not clarifying those concepts (as it seems to me). And by introducing things like a nesting connector they even spoil it.

q.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1189
  • Karma: +91/-6
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Visualising Classifier Relationships
« Reply #13 on: May 03, 2016, 08:42:01 pm »
Ah, well. The thing there is that UML has no concept of a browser-type containment hierarchy. The standard specifies what various entities should look like and how their relationships should be interpreted, but it does not specify how model data should be stored or navigated.

So in "unimplemented" UML, or in UML as implemented by a "flat" tool (eg Microsoft Visio), you do need a way to specify that this thing is inside that thing -- nesting. But in UML as implemented in EA, you also have the browser hierarchy so a lot of the time you don't need a nesting connector.

/U
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 9202
  • Karma: +140/-131
  • I'm no guru at all
    • View Profile
Re: Visualising Classifier Relationships
« Reply #14 on: May 03, 2016, 09:32:53 pm »
Many cooks spoil the broth. Mickeysoft Visio is part of OMG. So they probably have enough steam to boil it down to a flat structure. Or maybe the simply sit on the structure until it's flat  >:(

q.