MDGs the Next Steps

By Phil Chudley Dunstan Thomas Consulting

Assuming you have a basic MDG, we can up the ante and add some extra features to the MDG to really make it sing.

In this session I will cover
  • Speeding up the process of Generating the MDG using a script (which I will make available for attendees can download)
  • Deploying an MDG via Import to Model
  • The basics of shapescripts and common reasons as to why you might want to use a Shapescript in an MDG
  • Creating and including Patterns in an MDG
  • How to create a Model Wizard and incorporate the Wizard into the MDG
  • Including other artefacts such as Documentation Templates, Model Searches and Scripts

Session Recording


Script to generate an MDG - Import to your repository as Reference Data (xml)

Questions and Answers

yes, it should be possible since the tag name would be same in the sub class
I have that on my TO DO list if I can can find a way to update the MTS file within the script. I believe I can with some XML processing
Yes, as shapescripts affect the rendering of an element / connector on a diagram, the diagrams in Prolaborate should display the elements correctly using their shapescript.
That's a good question ... I know the version number is in the MDG XML file, but it's not displayed in the repository resources .... the only way I know is to use the Specilaize Ribbon -> Manage Tech and in the dialog scroll down to your MDG and in the display it will show the version
Indeed, I used this trick to discover how certain shapes were implemented by Sparx Systems .... for example the Cog Wheels in a BPMN Task element
MDGs the Next Steps:
You may be interested in this, if you have not found it also:

Speaker Bio


Phil Chudley

Principle Consultant and Sparx EA Expert

I have been using EA for 15 years and no specialise in Scripting, MDG development and Publishing Models