Author Topic: Embedded elements and diagram layouts  (Read 528 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1082
  • Karma: +83/-5
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Embedded elements and diagram layouts
« on: March 07, 2017, 03:18:20 am »
Hi all,


Is it possible to get the diagram layout function to take ports and exposed interfaces into account?

I've got a model with components, ports and connectors between ports but not between the parent components. Ordering a diagram layout results in all the components being placed left-to-right as if there were no connectors at all.

There's an option "Layout uses all relations" and it's ticked, but it doesn't seem to do much good.
I've tried the different layouts in the toolbar, but they're undocumented and none of them seems to look at relationships between embedded elements.

Anyone?


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 9021
  • Karma: +137/-126
  • I'm no guru at all
    • View Profile
Re: Embedded elements and diagram layouts
« Reply #1 on: March 07, 2017, 08:48:54 am »
No. The layout ignores ports. What I did in the past was to add a script that aligns two selected ports, respectively distribute ports on one side of an element when selected.

I know that Perl is write-only, but I tried to write it in a way one can read: http://liquit.biz/brain/enterprise.html

q.

AndyJ

  • EA User
  • **
  • Posts: 332
  • Karma: +5/-2
  • It's only a model
    • View Profile
Re: Embedded elements and diagram layouts
« Reply #2 on: March 07, 2017, 04:01:38 pm »
... I know that Perl is write-only...

I prefer to say that PERL is well, WORN.

(Write Once Read Never)

:)
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."