Author Topic: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)  (Read 4267 times)

Fábio Guarita

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
« on: August 07, 2019, 02:24:40 am »
Hi,

I want to make the AllocatedTo compartment visible in Activities to make it easier to check some allocation criteria (i.e.: Each activity shall be allocated to one and only one block).

According to SysML 1.4 spec, ISO-19514, pg148 this should be possible but I haven't been able to display such compartment. Is it implemented? If so, how can I make that information visible in acitivites within activity diagrams? (either by compartment, notes, etc....)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
« Reply #1 on: August 07, 2019, 09:08:15 am »
You need to set the Activity to rectangle notation in order to show any compartments. It's somewhere on the right-click context menu (for me, right-click > Advanced > Use Rectangle Notation).
The Sparx Team
[email protected]

Fábio Guarita

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
« Reply #2 on: August 07, 2019, 08:59:20 pm »
You need to set the Activity to rectangle notation in order to show any compartments. It's somewhere on the right-click context menu (for me, right-click > Advanced > Use Rectangle Notation).

I tried that with rectangle notation and still doesn't work. I understand that "AllocatedTo" compartment should show up in the "Feature and Compartment Visibility" dialog, specifically in the "Show Element Compartments" group of settings.

This works with blocks - the 'AllocatedFrom' compartment is selectable and visible if there is any allocation to the block which is not explicit in the current diagram. But I couldn't do the same with activities...

Has anyone succeeded trying to do this?

Thangadurai

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
« Reply #3 on: February 12, 2020, 08:47:55 pm »
Hello EA Users,

I am using EA14 and have created a <allocate> relationship between block and Action. Even after changing the Action representation to rectangle notation, i am not able to enable the visibility neither for Block nor for Action. Is there anyone who could use this feature of displaying the allocate relationship in compartment>

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
« Reply #4 on: February 13, 2020, 08:55:52 am »
An allocation won't be listed in a compartment if its connector is shown on the diagram because it's redundant information, so remove either the block or action from the diagram and try again (save, reload, select, Ctrl+Shift+Y).
The Sparx Team
[email protected]