Book a Demo

Author Topic: MDG custom SysML IBD diagram  (Read 6249 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
MDG custom SysML IBD diagram
« on: January 03, 2022, 07:36:26 pm »
Hi,

I need to create a SysML internal block diagram within an MDG with a toolbox that provide custom stereotypes and built-in SysML elements + relations.
Is there a way in the diagram profile to identify a diagram type as an IBD to get the SysML behaviour i.e. show the main block + ports and run the synchronize elements ?

Regards
Guillaume
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: MDG custom SysML IBD diagram
« Reply #1 on: January 04, 2022, 08:26:36 am »
If you want to keep the SysML IBD behavior the only way to do it is to define a view specification extending SysML1.4::InternalBlock.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG custom SysML IBD diagram
« Reply #2 on: January 24, 2022, 06:33:58 pm »
Hi Eve,

I gave it a try and it indeed works. I also noticed that arrows on ports are displayed according to the Direction tagged value. The same goes for SysML BDD so users can see the directions.
Is there a way to expose these view specifications within the list of diagram types for the custom MDG? If not, could this be considered as a feature request ?
With the current result, it's not ideal to tell users to use the custom MDG and SysML 1.5.

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: MDG custom SysML IBD diagram
« Reply #3 on: January 25, 2022, 12:17:38 pm »
Not currently. You'll note that UAF has the same limitation. The diagram types it defines are listed only under the SysML diagram types they are applying to.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG custom SysML IBD diagram
« Reply #4 on: January 28, 2022, 01:27:33 am »
In the user guide, you give the example of the UAF connectivity which has a single group. How can I set several groups e.g. MyElements et MyRelationships within a custom view specification ?

From a few tests I carried, I noticed that some exposed elements in the extended toolbox are displayed in the original group e.g. BlockDefinition -> ValueType and Enumeration are visible under SysML Block Definition Group, Aggregation under SysML Blocks Relationships, whilst Block and my custom stereotypes are listed under "myview" group. -> I don't understand the inconsistency with the SysML block since Block is available within a BDD.
Is there a way to change the order of elements within a group?

Is there a way for view specifications to support silent uml patterns and/or specific icons ?
Note: I found a related thread without any answer here: https://www.sparxsystems.com/forums/smf/index.php?topic=42597.0

Is it possible to set a view spec diagram as the default diagram for a stereotyped element i.e. using _defaultDiagramType special attribute ?
« Last Edit: January 28, 2022, 03:07:16 am by Guillaume »
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com