Book a Demo

Author Topic: Own MDG using Diagram Frame similar to SysML or State Machine  (Read 6296 times)

cRossi

  • EA Novice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Own MDG using Diagram Frame similar to SysML or State Machine
« on: February 16, 2020, 10:03:17 pm »
Hello,
I'm looking for way how I can do Diagram Frames in my own MDG with own defined diagram types and toolboxes, like they are automatically created when a State Machine or SysML diagram is created.

But everything I try, I do not get this ability.

I did so far:

With the first option I got my new diagram type with its corresponding toolbox, where elements and connectors can be separated in the Toolbox, but I can't enhance the SysML / State Machine diagram to get the Diagram Frame as shown in SysML Block Definition / Internal Block or State Machine.

The second option allows to enhance the SysML diagram (incl. the Diagram Frame) and also the Toolbox, but here all enhanced elements are in the same sub-group of the Toolbox, so connectors and elements are mixed.

Are there any other options I did not see to achieve the following things with (one) MDG?

  • Diagram Frame automatically created when diagram is created
  • Toolbox with separated object types, e.g. elements and connectors

Thx
cRossi

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #1 on: February 17, 2020, 09:35:52 am »
The only way to get both of your requirements is the metamodel view. Usually the sticking point people have with that is that the UI doesn't show it in a page for your profile. Instead it's available under the corresponding base diagram type.

In order to achieve the grouping of your types within your views you need to define a single toolbox profile within your technology. Your custom views will then act like filtered versions of that toolbox. I think that behavior was added to 15.1.

cRossi

  • EA Novice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #2 on: February 17, 2020, 06:03:48 pm »
Hello Eve,
thanks for answering.

The only way to get both of your requirements is the metamodel view. Usually the sticking point people have with that is that the UI doesn't show it in a page for your profile. Instead it's available under the corresponding base diagram type.
No nice, but OK. I did that already.

In order to achieve the grouping of your types within your views you need to define a single toolbox profile within your technology. Your custom views will then act like filtered versions of that toolbox. I think that behavior was added to 15.1.
I know how to create that, but I was not able to assign that to my view.
How do I do that?

Thx
cRossi



Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #3 on: February 18, 2020, 08:59:19 am »
If you have a single toolbox profile in your technology all views coming from that technology should use that toolbox without anything further. The only other requirement would be using 15.1

cRossi

  • EA Novice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #4 on: February 21, 2020, 07:19:32 am »
OK, I'm now on 15.1, but shall I do now...?
I tried again, but all I could do is place an Element "DiagramFrame" in the Toolbox which I have to drag into the diagram manually.
But what I wanted is, that the frame automatically appears and change its size if elements are dropped in.
Are there any solutions to solve this?

Thx
cRossi

RealPecho

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #5 on: January 13, 2023, 06:57:13 pm »
did you solve this issue? i am also interesting in the solution

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #6 on: January 23, 2023, 01:47:07 pm »
I don't know what you've tried, so the best I can do is give you the same advice.

The automatic diagram frame on SysML diagrams is something that can't be reproduced.

You need to define a view specification that extends the SysML diagram. If you define a toolbox profile in your technology that will allow you to group and order the items in the toolbox. In the latest version it even gets its own page in the new diagram dialog.

RealPecho

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Own MDG using Diagram Frame similar to SysML or State Machine
« Reply #7 on: January 24, 2023, 11:59:42 pm »
I did in this way, but it is not  really the same.

If I add a diagram to the model, i have to go in this way througt the SysML perspective and choose for example InternalBlock. But we change the names of the diagrams to get more specific description.

But I think, there is no another way to do this