Author Topic: Show Elements in Compartments as well as on Diagram  (Read 2663 times)

PDC

  • EA User
  • **
  • Posts: 109
  • Karma: +4/-0
  • Systems Engineer
    • View Profile
Show Elements in Compartments as well as on Diagram
« on: May 03, 2023, 08:53:45 pm »
I have a Block on a diagram. In my project browser, the Block contains (nested underneath it) an Activity. There is no SysML relationship between the two.
On the diagram, the Activity is shown in the Block's 'owned behaviours' compartment. Good so far.
However, when I then put the Activity on the same diagram*, it no longer appears in the Block's 'owned behaviours' compartment. (* I'd like to do this as I'm drawing a model ontology diagram which explains millions on things all on one diagram, sorry if that makes you cringe)

I understand that this behaviour - hiding the Activity from the Compartment - is intentional ("If a compartment is not shown, it might be necessary to locate and remove from the diagram the corresponding related or child elements, save the diagram, and reload the diagram to refresh the display of compartments" - https://www.sparxsystems.com/enterprise_architect_user_guide/15.2/model_domains/block_element_compartments.html). But is there any way at all to have the Activity listed in the 'Owned Behaviours' compartment as well as appearing on my diagram? Maybe some radio button that I've missed in EA somewhere...?

Thanks!
Phil

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Show Elements in Compartments as well as on Diagram
« Reply #1 on: May 04, 2023, 01:28:49 am »
Maybe you consider dragging a diagram with details onto your target and enlarge the activity so it can fit.

q.

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Show Elements in Compartments as well as on Diagram
« Reply #2 on: May 08, 2023, 10:05:56 am »
Hello PDC,

Unfortunately, there is no way to show an element as both an object in a diagram and text in a compartment. We can hide compartments manually but there is no option to show compartments and contents forcely.

HTH,
--
t-kouno

PDC

  • EA User
  • **
  • Posts: 109
  • Karma: +4/-0
  • Systems Engineer
    • View Profile
Re: Show Elements in Compartments as well as on Diagram
« Reply #3 on: May 10, 2023, 12:59:39 am »
Thanks both for your suggestions. Yeah looks like I need to find some kind of compromise/workaround. Or possibly just reassess the need to show all of the detail on one single diagram.
Phil