Book a Demo

Author Topic: Display linked objects on Class element within Class diagram  (Read 3603 times)

kpietrusewicz

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Display linked objects on Class element within Class diagram
« on: January 21, 2018, 02:53:00 am »
Hi All,
Is it possible to show linked (Association, Generalization, others) classes on Class diagram.
Example:
I have Class1, Class2, type class.
I am linking them with Association connector.

I want to display only Class1 on diagram.
Is it possible to display (in the similar way as tags, attributes or operations) case that Class is linked with Class1?
Do I need to do some extra programming?

Please help.
Yours,
Krzysztof Pietrusewicz

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Display linked objects on Class element within Class diagram
« Reply #1 on: January 21, 2018, 03:36:32 am »
You would need to create a shape script with
Code: [Select]
shape RelatedElement. See http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/add_custom_compartments_to_ele.html

This only works for stereotyped classes. And it needs quite some fiddling until you get that working (at least for me it always takes time to tweak my brain to get queer Sparxian thinking adapted to my way of understanding things).

q.

kpietrusewicz

  • EA Novice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Display linked objects on Class element within Class diagram
« Reply #2 on: January 22, 2018, 09:12:54 pm »
Thank You very much for Your kind answer, and help of course.
Best,
Krzysztof

ps. Next issue solved :-)