Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Knaldgas on February 17, 2016, 07:35:11 pm

Title: Lateral Horizontal/Vertical connector style
Post by: Knaldgas 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
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Geert Bellekens 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
Title: Re: Lateral Horizontal/Vertical connector style
Post by: qwerty 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..
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Knaldgas 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
Title: Re: Lateral Horizontal/Vertical connector style
Post by: PeterHeintz 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.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: KP 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.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Knaldgas 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 (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...
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Knaldgas 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
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Glassboy 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.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Knaldgas 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 :)
Title: Re: Lateral Horizontal/Vertical connector style
Post by: KP on February 26, 2016, 08:41:59 am
Sorry, I can't access your website. Could you send a bug report please? Thanks.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Glassboy 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 :-)
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Paolo F Cantoni 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
Title: Re: Lateral Horizontal/Vertical connector style
Post by: PeterHeintz 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.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Geert Bellekens on February 26, 2016, 08:36:23 pm
Maybe because it was developed on the opposite side of the world? ;D

Geert
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Knaldgas on February 26, 2016, 10:34:51 pm
I have to be fair - I've just tested Lateral line style in 12.1 (1224), and here it appears to work.
Some of my customers refuse to upgrade beyond 11, so I have work with that...

Well, I'll just have to tell them to upgrade, again, I suppose.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Geert Bellekens on February 26, 2016, 10:50:54 pm
Tell them v11 to EA what "Millenium" was to Windows. ;D
That's how I see it anyway.
I have never upgraded to client to v11 because of a number of bugs/annoyances.
V10 was OK, and v12 is OK again too.

Geert
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Paolo F Cantoni on February 29, 2016, 11:08:53 am
Maybe because it was developed on the opposite side of the world? ;D

Geert
NO!  You guys are on the opposite side!  :)

Haven't you seen those maps where Australia is at the top?

Happy bisextus everybody!

Paolo

Title: Re: Lateral Horizontal/Vertical connector style
Post by: RoyC on February 29, 2016, 11:40:56 am
Reminds me of the joke: Fred was walking beside the river when he saw Dopey Joe on the opposite bank. "Hey, Mate!" Fred shouted "Is there a way I can get to the other side?" Joe shouted back "Whadya mean? You ARE on the other side!".
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Glassboy on February 29, 2016, 12:14:13 pm
NO!  You guys are on the opposite side!  :)

Nice try Paolo, but you know what Podeans are "willfully ignorant"*.  Not only do they refuse to see that "North" is actually galactically down, but they all live in the past.  (Mind you so do you.)


*Fancy legal term
Title: Re: Lateral Horizontal/Vertical connector style
Post by: skiwi on March 10, 2016, 01:53:37 pm
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 (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...
(http://i306.photobucket.com/albums/nn245/copperkiwi/Sparx/Lateral%20connectors_zpssl8fyuc6.png)
Note one diagram quirk: the directed association arrow heads to Class2 and Class4 "disappear" when the directed associations to class2b or class4a overlap them. (EA 12.1.1224)
Title: Re: Lateral Horizontal/Vertical connector style
Post by: Paolo F Cantoni on March 10, 2016, 06:35:20 pm
Hi Skiwi,

I've also noticed anomalies when the lines overlap - bug reported.  In my case it was the additional decoration I place on the line that went screwy, but I can see that the same anomalous code might have the effect you're seeing.

Paolo
Title: Re: Lateral Horizontal/Vertical connector style
Post by: qwerty on March 10, 2016, 10:59:31 pm
The above rendering is buggy for sure. But placing the elements in those positions is a user error in the same range.

q.
Title: Re: Lateral Horizontal/Vertical connector style
Post by: skiwi on March 11, 2016, 07:43:22 am
I updated the image in an attempt to illustrate what is happening.
In the image above the size and colour of the connector to an entity is exactly the same as the size and colour of the entity's edge.

Title: Re: Lateral Horizontal/Vertical connector style
Post by: Marc Vanstraelen on January 26, 2017, 12:07:38 am
Resurrecting this thread from last year, because I'd like to add a finding to the discussion.

We upgraded from EA10 to EA12.1, and we just found out that both versions show the line styles "Lateral - Vertical" and "Lateral - Horizontal" differently in some situations, and the same in some others. I did some tests in an Activity Diagram and found:

In EA12.1 the behaviour seems to be consistently:
In EA10 however, it is like this for the connectors going into an activity from a common node, but the reverse for a connector coming out of an activity to a common node.

Some of our users are not quite so happy that their diagrams look worse after the upgrade.
I recommended, as Geert did, that they avoid the Lateral styles and go with the Orthogonal instead.