Book a Demo

Author Topic: Custom diagram backgrounds in an MDG  (Read 3035 times)

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Custom diagram backgrounds in an MDG
« on: July 14, 2014, 04:54:24 am »
I am trying to add some dazzle and flair to my diagrams by adding an image to the background to act as a water mark.

I have searched the help files and can find the part that tells you how to do it manually, but NOT the part that tells you how to do it as part of an MDG.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Custom diagram backgrounds in an MDG
« Reply #1 on: July 14, 2014, 07:21:14 am »
Not 100% sure if this will work but you can try it.
Create you example diagram with the image in a package and export as XMI. Make sure you use the image from MDG previously created. Then in your  MDG MTS file add a reference to it as a model template (see manual)
Code: [Select]
<MDG.Selections>
...
      <ModelTemplates>
            <Model name="Name" description="Description" location="Example Diagram.xml" default="yes" icon="31" filter=""/>
      </ModelTemplates>
</MDG.Selections>

Next time you generated the MDG it should be included as a pattern so you can create it by using the create new model using model pattern.
Hope that works. Let us know  :)
Happy to help
:)