Book a Demo

Author Topic: Displaying Allocation In Block Compartments  (Read 17106 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Displaying Allocation In Block Compartments
« on: November 06, 2015, 12:36:32 am »
I have created an allocation relationship between an «action» and «block»

The SysL spec defines an allocatedTo and allocatedFrom notation to display allocation information on diagrams  (see SysML 1.3 Spec section 15.2.1, page 152)

Does EA support this notation?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Displaying Allocation In Block Compartments
« Reply #1 on: November 06, 2015, 09:08:32 am »
Yes, both the compartment notation (Blocks only) and linked notes.

To show the compartment, right-click a block and Features & Properties > Feature and Compartment Visibility. "AllocatedTo" and/or "AllocatedFrom" should be listed there under "Show Element Compartments", but only if there is anything to show (related elements aren't shown in the compartments if they are still on the diagram).

To show the attached note, first attach a note element - you can use the quicklinker for this - and then right-click the note link and select "Link this note to an element feature". Again, "AllocatedTo" and/or "AllocatedFrom" should be listed there, but only if there is anything to show.
The Sparx Team
[email protected]

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Displaying Allocation In Block Compartments
« Reply #2 on: November 06, 2015, 07:34:36 pm »
I don't see these options - even when I am viewing the block on a different diagram that does not contain the related element.

When I right click on the link between the note and the element and choose Link to Element feature, I do not see AllocatedTo or AllocatedFrom in the list. I have also tried this with the "Allocated" stereotyped note element (SysML Common toolbox). This note also doesn't present the AllocatedTo or AllocatedFrom options (although it does own two tagged values with those names but they are blank...) :-?

If I select the block and then look at the Traceability view, I can see it has an incoming dependency ("needed by") and I can see the action has an outgoing dependency ("depends on"). I can also see this allocation exists in the Element browser and by searching for allocations in the "Find in project"

The process I have followed is:
1. Create action
2. Create Block
3. Place both elements on the owning activity diagram
4. Go to the SysML Common drawing toolbox and locate the Allocate relationship
5. Drag the Allocate relationship from the action (the thing that is being allocated) to the block (the element to which it is allocated)

What am I doing wrong?

Is there some diagram or tool option that overrides the display of this information?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Displaying Allocation In Block Compartments
« Reply #3 on: November 10, 2015, 10:56:15 am »
The AllocatedTo and AllocatedFrom compartments were added at EA version 12.1 which is only available as a Beta release. (Sorry, I should have checked before answering).
« Last Edit: November 10, 2015, 10:57:40 am by KP »
The Sparx Team
[email protected]