Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Fábio Guarita on August 07, 2019, 02:24:40 am

Title: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
Post by: Fábio Guarita 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....)
Title: Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
Post by: KP 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).
Title: Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
Post by: Fábio Guarita 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?
Title: Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
Post by: Thangadurai 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>
Title: Re: AllocatedTo compartment in Activities (SysML 1.4, EA 13.5)
Post by: KP 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).