Book a Demo

Author Topic: Import, then Diagram->Layout, routes messed up  (Read 13926 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Import, then Diagram->Layout, routes messed
« Reply #15 on: February 11, 2015, 12:08:44 pm »
Ah - lol - yes. That's German for what. Too late...

But that would bring up the question why auto-layout changes connector style, wouldn't it?

q.
« Last Edit: February 11, 2015, 12:10:06 pm by qwerty »

EricP

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Import, then Diagram->Layout, routes messed up
« Reply #16 on: February 11, 2015, 12:59:43 pm »
Quote
As soon as the importer runs the layout function, the line styles are changed to custom by the layout.

Why don't the line styles conform to the Default style set by the user?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Import, then Diagram->Layout, routes messed up
« Reply #17 on: February 11, 2015, 03:22:28 pm »
Quote
But that would bring up the question why auto-layout changes connector style, wouldn't it?

Quote
Why don't the line styles conform to the Default style set by the user?

The answer to both of your questions has already been answered by my previous post.

Quote
The problem isn't with the code import. It's with the layout method that is being used. The positions it is placing elements in means that it needs to introduce waypoints to prevent the connectors drawing over the elements.

We haven't introduced an option for this layout to prevent it changing the line styles. You could always set the option to disable automatic layout during reverse engineering. You would then have the option to apply a different layout manually after completion.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Import, then Diagram->Layout, routes messed up
« Reply #18 on: February 11, 2015, 09:05:37 pm »
Oh yes. Short time memory is getting worse when you're aged. Thanks.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Import, then Diagram->Layout, routes messed up
« Reply #19 on: March 16, 2015, 10:33:02 pm »
I wrote an EA-Matic script to configure my own default line styles per connector type and update all the connectors in a diagram to said default styles: Configure your own default line styles in Enterprise Architect with EA-Matic

Geert