Book a Demo

Author Topic: Multiple Diagram Profiles?  (Read 2881 times)

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Multiple Diagram Profiles?
« on: February 17, 2021, 05:26:19 am »
Hey all

I am just wondering if it is possible to define and use multiple diagram profiles within a single MDG?
If so, has anyone here done it and what benefit does it give?

Cheers

Jays :-)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Multiple Diagram Profiles?
« Reply #1 on: February 17, 2021, 05:36:53 am »
Whart's your understanding of a diagram profile? To me it defines on what a diagram is (UML-) based. And it gives a handle for defining tool bars. It's just normal to have multiple diagram profiles in a single MDG. So I'm a bit puzzled what your issue could be.

q.

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Re: Multiple Diagram Profiles?
« Reply #2 on: February 17, 2021, 05:55:46 am »
So all the MDGs I've seen (and likewise created) have a single UML profile for diagrams with multiple diagrams in that profile.
Judging by your answer it is indeed possible to define multiple diagram profiles.

I guess this leads me to another (slightly) related question.
Can you have more than one tool box per toolbox profile?


Cheers :-)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Multiple Diagram Profiles?
« Reply #3 on: February 17, 2021, 08:21:29 am »
Uhm,yes (and no). A toolbox consists of multiple parts. For each part you define a diagram that has the entries extending the metaclass ToolboxPage. E.g. you have a group with elements and one with connectors (it's up to you how to distribute the single entries). But all belong to the single toolbox that's defined for a diagram. The diagram metaclass referers (via name!!! hit that designer) to the diagram containing the elements (parts) containing the elements per part as attributes. You can't have multiple toolboxes to switch between (at least to my knowledge).

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Multiple Diagram Profiles?
« Reply #4 on: February 17, 2021, 09:04:09 am »
The reason that you would want to have multiple diagram profiles in a technology is to make the New Diagram dialog more manageable. Most technologies only have a handful of custom diagram types, so it isn't as issue. But something like UPDM2 has over 40 custom diagram types which are split between 8 diagram profiles. My advice is look at the New Diagram dialog and decide what you want to see in there. The profiles will be listed in the "Select From" panel.
The Sparx Team
[email protected]