Book a Demo

Author Topic: Cross language MDG support  (Read 5674 times)

maxb

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Cross language MDG support
« on: June 29, 2024, 12:17:27 am »
Hi
I like to create a cross modeling language MDG, that is making possible to reuse an element in multiple languages.
For example a Business Process in Archimate can be further detailed in BPMN, and my intention is that it is one element but it looks like a BPN process in that kind of diagram and as an archimate element in that kind of diagram.

Any one have an idea on how this can be done?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Cross language MDG support
« Reply #1 on: June 29, 2024, 01:53:37 am »
Hi
I like to create a cross modeling language MDG, that is making possible to reuse an element in multiple languages.
For example a Business Process in Archimate can be further detailed in BPMN, and my intention is that it is one element but it looks like a BPN process in that kind of diagram and as an archimate element in that kind of diagram.

Any one have an idea on how this can be done?
You have to write a shapescript that can respond to the type or stereotype of diagram (your choice).  Our shapescripts also allow the user to also set USDPs (User Specified Diagram Properties) to change the shape (to any of a series of standard shapes) to suit their particular needs on ANY diagram.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Cross language MDG support
« Reply #2 on: June 30, 2024, 09:01:43 am »
You could just use Archimate down to level 2 and then create BPMN diagrams underneath the archimate element with the detailed workflow in BPMN. Alternatively create the process in ArchiMate and then transform it to BPMN using MDA transformation. You'll need to create the transformation script from ArchiMate and BPMN.

We do business architecture down to level 2 with business processes then add the detailed workflow in BPMN underneath the ArchiMate Business Process element.
Where we use these levels.

Level 1 - Value Chain type diagram in ArchiMate with value streams
Level 2 - Value streams with ArchiMate Business Processes listed under each stage.
Level 3+ Detailed swimlanes and activities.

Hope that helps
Happy to help
:)

maxb

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Cross language MDG support
« Reply #3 on: July 18, 2024, 05:24:09 pm »
If I use
"You have to write a shapescript that can respond to the type or stereotype of diagram (your choice).  Our shapescripts also allow the user to also set USDPs (User Specified Diagram Properties) to change the shape (to any of a series of standard shapes) to suit their particular needs on ANY diagram."

Can it behave in different ways in the different modeling languages?
If I create my own Archimate Process it has a predefined Archimate relationships, and in BPMN it has another set of relationships, can this be managed in the definition of the MDG?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Cross language MDG support
« Reply #4 on: July 18, 2024, 05:39:04 pm »
If I use
"You have to write a shapescript that can respond to the type or stereotype of diagram (your choice).  Our shapescripts also allow the user to also set USDPs (User Specified Diagram Properties) to change the shape (to any of a series of standard shapes) to suit their particular needs on ANY diagram."

Can it behave in different ways in the different modeling languages?
If I create my own Archimate Process it has a predefined Archimate relationships, and in BPMN it has another set of relationships, can this be managed in the definition of the MDG?
Short Answer, Yes.

However, it would be best to have separate diagrams which have the appropriate relationships shown.  This can be automated to some extent by using the appropriate Diagram.xxxxxx properties as defined on the Display Element/Connector Properties Help page to assist in which ones to hide (If I did this I would make the line very prominent).  It may also be possible to use Layers (although I don't have any real experience with that).

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Cross language MDG support
« Reply #5 on: July 18, 2024, 05:39:23 pm »
The relations offered in the quicklinker depend on the relations on the toolbox.

So your stereotype would have all relations, but the diagram it is used on is linked to a toolbox, that restricts the number of "allowed" relations.

Geert

maxb

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Cross language MDG support
« Reply #6 on: July 30, 2024, 09:51:41 pm »
Yes that could work.

Thanks