Book a Demo

Author Topic: Creating a diagram profile for an MDG and having a matrix on it.  (Read 4439 times)

JamesCu

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
I am trying to create my own MDG with a diagram with a matrix on. I have successfully created a working MDG which has a diagram which has swimlanes by giving the metaclass which is associated to my stereotype diagram an attribute named swimlanes with an initial value of "Lanes=3;Lane1=Higher Level;Lane2=This Level;Lane3=Lower Level;".

What would be the syntax to create a matrix?
Do I need to create an attribute called "matrix"?

I have made a stab in the dark guess with the following initial value to create the matrix.

"Columns=3;Column1=Requirement;Column2=Design;Column3=Verification;Rows=3;Row1=Higher Level;Row2=This Level;Row3=Lower Level;"

Any help would be much appreciated or any method to build and MDG with a diagram which has a matrix on it.

Cheers
James

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Creating a diagram profile for an MDG and having a matrix on it.
« Reply #1 on: July 14, 2016, 10:57:24 pm »
I don't think you can with plain MDG's and profile.

You might need an (MDG) add-in to pull that off.

Geert

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Creating a diagram profile for an MDG and having a matrix on it.
« Reply #2 on: July 15, 2016, 08:46:30 am »
An easier solution would use the Model Wizard. Create a package that owns a diagram with a matrix, save it to XMI, and then follow the instructions to add model template information to your MDG Technology. Not ideal, but workable.
« Last Edit: July 15, 2016, 11:05:42 am by KP »
The Sparx Team
[email protected]

JamesCu

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Creating a diagram profile for an MDG and having a matrix on it.
« Reply #3 on: July 20, 2016, 01:25:05 am »
Cheers, I went with creating a model pattern for use with the model wizard in the end.