Author Topic: Visio 2016 and MDG Link for Visio importer  (Read 4150 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Visio 2016 and MDG Link for Visio importer
« on: January 24, 2019, 07:21:25 pm »
We've been provided with a Visio UML diagram which (apparently) uses an outdated UML Stencil (as far as Visio 2016 is concerned).
When we open the diagram in Visio, we get a message which directs us to the following web information (on Legacy UML features are missing when you edit a UML or database diagram in Visio 2013

The substantive detail is:

This issue occurs because Visio 2013 uses new UML and database modelling templates that are not used by Visio 2010 or by earlier versions of Visio. Therefore, you can edit a UML or database diagram that is created in Visio 2010 or in an earlier version of Visio by using Visio 2013. However, the diagram does not work correctly when you open it in Visio 2010 or in an earlier version of Visio. Additionally, the diagram cannot be automatically upgraded to a new format in Visio 2013.

When we try to import it using the MDG Visio importer (v1.8.42) we get a message (see below)  which seems to correspond to the above anomaly which refers us to the help file.

The problem seems to be that the file was created with the UMLMOD_M.VST template which was dropped fairly early on.  Does anyone have the ability to import such a file without error into Visio (and thence into EA)?  It's a really big file with LOTS of shapes (116) and relationships (119) so we'd rather not recreate manually.

Alternatively, is there an easy way to copy and paste the diagram (losing all the template information) in Visio.  For our purposes, just importing the objects as simple classes with names and the relationships as associations would be useful.

Really appreciate any help.
TIA,
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: 1320
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Visio 2016 and MDG Link for Visio importer
« Reply #1 on: January 25, 2019, 06:50:40 am »
So if I understand correctly the file you are trying to import was it created in Visio 2010 with an outdated stencil? If so sounds like the easiest thing to to is install Visio 2010 and do your import using visio importer. I understand the visio importer uses  the API of the version of Visio installed. If there is any issues with the version of visio importer and visio 2010 you may need to install the older visio importer too. Not 100% sure but think the older version of visio importer can be obtained from https://www.sparxsystems.com/registered/reg_ea_down.html and the newer one comes with Office MDG.
Not aware of any cut and paste options but I noticed libre office can now open visio diagrams. Might be worth a look but I suspect it would probably paste the diagram as an image into Sparx EA.
Happy to help
:)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Visio 2016 and MDG Link for Visio importer
« Reply #2 on: January 25, 2019, 05:30:31 pm »
So if I understand correctly the file you are trying to import was it created in Visio 2010 with an outdated stencil? If so sounds like the easiest thing to to is install Visio 2010 and do your import using visio importer. I understand the visio importer uses  the API of the version of Visio installed. If there is any issues with the version of visio importer and visio 2010 you may need to install the older visio importer too. Not 100% sure but think the older version of visio importer can be obtained from https://www.sparxsystems.com/registered/reg_ea_down.html and the newer one comes with Office MDG.
Not aware of any cut and paste options but I noticed libre office can now open visio diagrams. Might be worth a look but I suspect it would probably paste the diagram as an image into Sparx EA.
Thanks Sunshine,
Unfortunately, that's all too hard at present.  I tried importing regardless and, although the result was substantially less than optimal (classes imported with NO names), it proved easier to take that input and copy and paste from Visio.

Got the diagram in.

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