Book a Demo

Author Topic: Flow Properties compartment not available  (Read 4956 times)

PeteC

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
Flow Properties compartment not available
« on: March 05, 2022, 02:40:29 am »
If I create a SysML Block Definition diagram, add a Block and to the block add a Flow Property then the item appears on the block in the "flow properties" compartment. The compartment can be toggled from the diagram properties to be visible or not.

If I drop a link to the same block on my custom diagram, the flow properties compartment cannot be displayed on the block; it does not even appear in the list of available compartments in the Show Compartments section of the diagram properties.

What do I need to add to my custom diagram definition in my MDG for it to work the same as the SysML diagrams?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Flow Properties compartment not available
« Reply #1 on: March 07, 2022, 09:01:08 am »
Right now, the only way to do that is to use a view specification to add an available view to the original SysML diagram.

PeteC

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
Re: Flow Properties compartment not available
« Reply #2 on: March 08, 2022, 10:57:06 pm »
So how would I do that?

I already have a View Specification that extends my custom diagram and exposes my desired elements and relationships.

Adding an extension from my existing View Specification to SysML1.4::BlockDefinition only results in adding my defined View Specification to a SysML Block Definition diagram, not adding the ability to display the "flow properties" compartment on elements on my custom diagram. What it did is what I expected the way I defined it from how I understood View Specifications to work.

I can't see anything else in the documentation explaining how to achieve what I wanted. I am wondering if from what you are suggesting I need to related my View Specification to SysML1.4::BlockDefinition in a different way.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Flow Properties compartment not available
« Reply #3 on: March 09, 2022, 08:11:54 am »
Adding an extension from my existing View Specification to SysML1.4::BlockDefinition only results in adding my defined View Specification to a SysML Block Definition diagram
Then you have it working.

not adding the ability to display the "flow properties" compartment on elements on my custom diagram. What it did is what I expected the way I defined it from how I understood View Specifications to work.
It does not change your diagram definition. It's completely unrelated.

I can't see anything else in the documentation explaining how to achieve what I wanted. I am wondering if from what you are suggesting I need to related my View Specification to SysML1.4::BlockDefinition in a different way.
No. You just need to use the view specification from the SysML block diagram.

PeteC

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
Re: Flow Properties compartment not available
« Reply #4 on: March 09, 2022, 10:20:07 pm »
OK, but I was trying to get the flow properties compartment to appear on my custom diagram type, not a SysML diagram.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Flow Properties compartment not available
« Reply #5 on: March 10, 2022, 08:14:45 am »
The flow properties compartment is specified by the SysML diagram types. You can't inherit from them, so the only way to have a customized diagram using them is a view specification extending the original SysML diagram.

That means, you need to choose between a completely new diagram type or having the SysML functionality.