Author Topic: Lateral Horizontal/Vertical connector style  (Read 19662 times)

Knaldgas

  • EA User
  • **
  • Posts: 36
  • Karma: +1/-0
    • View Profile
Lateral Horizontal/Vertical connector style
« on: February 17, 2016, 07:35:11 pm »
What's the business with the Lateral Horizontal vs Lateral Vertical connector style?
To me it appears that it is more or less random what happens when I select one or the other.

What exactly is Lateral Horizontal supposed to do? First horizontal out from the source, then vertical? - Or perhaps the opposite?

I'm sure there must be some logic to it, but I have yet failed to reveal that logic...
Any hints?

~Per

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13251
  • Karma: +554/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Lateral Horizontal/Vertical connector style
« Reply #1 on: February 17, 2016, 08:32:14 pm »
Per,

I would just not use them.
The orthogonal styles are in my experience at least as good and much more flexible.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #2 on: February 17, 2016, 09:02:10 pm »
Sounds familiar. EA comes with so many bells and whistles that trying to use them ends in a disharmony. So once you found one bell and one whistle to do the job you should simply ignore the others.

q..

Knaldgas

  • EA User
  • **
  • Posts: 36
  • Karma: +1/-0
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #3 on: February 17, 2016, 09:13:24 pm »
Geert,

The orthogonal style is a bit too flexible in my case, I don't want to use time on fiddling with the connector end positions, just have them centered like the lateral style does (I have many associations originating from the same class).

I guess Lateral line style can be put into the YAEAB bin >:(

Per

PeterHeintz

  • EA User
  • **
  • Posts: 967
  • Karma: +58/-18
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #4 on: February 18, 2016, 02:16:29 am »
I use the lateral style quiet frequently, maybe just because of my style arranging things.
Anyhow you are right, there is some mess in behavior which might be random or depend on something I do not understand.
By instinct I managed to choose in most cases the right type and if not I just press the other lateral option. Maybe not nice but this works for me.
Best regards,

Peter Heintz

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #5 on: February 18, 2016, 09:16:06 am »
What's the business with the Lateral Horizontal vs Lateral Vertical connector style?
To me it appears that it is more or less random what happens when I select one or the other.

What exactly is Lateral Horizontal supposed to do? First horizontal out from the source, then vertical? - Or perhaps the opposite?

Yes, it's the opposite. The source elements are attached to a horizontal line into the target. All the tree styles work with a common target, not a common source.
« Last Edit: February 18, 2016, 09:57:55 am by KP »
The Sparx Team
[email protected]

Knaldgas

  • EA User
  • **
  • Posts: 36
  • Karma: +1/-0
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #6 on: February 19, 2016, 12:54:02 am »
Hi KP

So a Lateral Horizontal association dragged from Class1 to Class2 should result in a horizontal line toward Class2...
Right, could you do me a favor and get this project: http://knaldgas.dk/~pdj/YAEAB.eap 1.2MB, drag an association from Class1 to Class2, and set it to "Lateral Horizontal".

Looking forward to your response...

Knaldgas

  • EA User
  • **
  • Posts: 36
  • Karma: +1/-0
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #7 on: February 25, 2016, 10:21:45 pm »
This thread got awfully silent...
Is this an indication of: "It works at me, so he's just an idiot", "DUH, this is embarrassing" or "Who cares..." ?

~Per

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #8 on: February 26, 2016, 07:18:44 am »
Like Geert, I mostly use the orthogonal connectors; because they work :-)

I did download your model and try what you suggested but I wasn't 100% sure what i was looking for.

Knaldgas

  • EA User
  • **
  • Posts: 36
  • Karma: +1/-0
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #9 on: February 26, 2016, 07:44:37 am »
According to KP should a Lateral Horizontal association end with a Horizontal line toward the target.

When I drag an association from Class1 to Class2, and set it to Lateral Horizontal, I get a horizontal line from Class1 then a vertical line to Class2.
As a additional "funny" thing, when checking the Line Style, it is marked as Lateral Vertical   ???
If you then increase the width of Class1 one grid-size to the right (grid size 8 ), the line suddenly becomes Lateral Horizontal again  :o

I fully understand that you, and others, use the Orthogonals, but really: If feature are released, they should work! - If they do not work, they should not be released.

Btw: Thanks for responding Glassboy :)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #10 on: February 26, 2016, 08:41:59 am »
Sorry, I can't access your website. Could you send a bug report please? Thanks.
The Sparx Team
[email protected]

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #11 on: February 26, 2016, 10:17:15 am »
I fully understand that you, and others, use the Orthogonals, but really: If feature are released, they should work! - If they do not work, they should not be released.

Maybe the regular posters are naturally orthogonal :-)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8595
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #12 on: February 26, 2016, 10:42:08 am »
Orthogonal is almost always a desired trait.... :)

I think Skiwi is "Mr Orthogonality" (from his tagline).

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

PeterHeintz

  • EA User
  • **
  • Posts: 967
  • Karma: +58/-18
    • View Profile
Re: Lateral Horizontal/Vertical connector style
« Reply #13 on: February 26, 2016, 08:32:11 pm »
From my experience, when you relate A (source) to B (destination) in very most cases:
 
-Lateral Vertical means; line goes vertical from destination and horizontal from source
-Lateral Horizontal means line goes horizontal from destination and vertical from source

This is just the opposite of what I expected some time ago.
But some years ago I realized that drawing most of these UML relations need to be drawn in opposite of what I expected as well.

And opposite * opposite is fine for me.
Best regards,

Peter Heintz

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13251
  • Karma: +554/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Lateral Horizontal/Vertical connector style
« Reply #14 on: February 26, 2016, 08:36:23 pm »
Maybe because it was developed on the opposite side of the world? ;D

Geert