Book a Demo

Author Topic: Diagram Format Changes after Export-Import  (Read 6383 times)

pvickers

  • EA User
  • **
  • Posts: 44
  • Karma: +7/-0
    • View Profile
Diagram Format Changes after Export-Import
« on: April 14, 2021, 06:28:40 am »
Does anyone have any advice regarding keeping diagram changes consistent when exporting and importing packages?

The team I am working with uses a centralized SQL Server based repository.

We export packages out of the primary repository and work on them locally...using the default *.eap files.
When our changes are ready, we import the packages back into the central repository again.
We have noticed the appearance of our diagrams change when they are imported back in. 
For example lines and diagram elements get moved slightly and become misaligned.

We are experiencing this behaviour regardless of whether the export/import is done using "native" or XMI format.

Thanks!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Diagram Format Changes after Export-Import
« Reply #1 on: April 14, 2021, 07:28:06 am »
Such movements can have many reasons. E.g. name length changes which causes change in the frame size. Added/deleted attributes which also changes frame size. For sure many more reasons. So: you need to cross check diagram when making changes. I don't know of a good way to do that. Maybe baseline check could help. But I have the feeling it will cause more work than it saves.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Diagram Format Changes after Export-Import
« Reply #2 on: April 14, 2021, 08:15:31 am »
Could you clarify if the changes are ONLY in the imported/exported diagrams or non-exported diagram (which contain transported items) or both?

That may help in isolating the cause. My suspicion is that it has to do with the screen sizing on the machines with the exported packages.

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: Diagram Format Changes after Export-Import
« Reply #3 on: April 14, 2021, 04:20:22 pm »
Or local settings that differ. If you are using another default font size or theme, or ... when editing the diagram, it will look a bit different after importing.

Geert

pvickers

  • EA User
  • **
  • Posts: 44
  • Karma: +7/-0
    • View Profile
Re: Diagram Format Changes after Export-Import
« Reply #4 on: April 15, 2021, 12:23:57 am »
Thanks to all for the responses so far.

To clarify my example, I mean that a diagram I have formatted in my local repository will change in appearance after simply being imported back into the central repository.

For example, elements that are perfectly aligned and spaced evenly in my local repository, will become slightly overlapped and out of alignment once imported back into the central repository.
Also, straight lines and 90 degree corners will often change to being angled.

Note - The exact same computer is used for exporting, importing and viewing the diagrams in both repositories.

Thanks,
Perry