Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Lode on October 09, 2007, 10:12:07 pm

Title: Bezier lines in a class diagram.
Post by: Lode on October 09, 2007, 10:12:07 pm
In some diagram types, EA lets you make bezier lines, in others it doesn't.

Why aren't bezier lines in a class diagram allowed, or if they are how can they be enabled?
Title: Re: Bezier lines in a class diagram.
Post by: Thomas Mercer-Hursh on October 10, 2007, 06:50:02 am
Timely question ... I was just wishing I could draw some lines in a class diagram to indicate which portions would be implemented in the first phase of a project.
Title: Re: Bezier lines in a class diagram.
Post by: «Midnight» on October 10, 2007, 07:14:50 am
I suspect that the "lines" referred to are links, not free-standing lines on the page.
Title: Re: Bezier lines in a class diagram.
Post by: thomaskilian on October 10, 2007, 09:00:18 am
I also once saw a nice bezier line on one of Jim's diagrams. So far I had no real need for it, but anyway: having it here and not there is definitely EAUI. Maybe one could raise a feature request to make it consistent (ha! contradictio in adjectio)
Title: Re: Bezier lines in a class diagram.
Post by: KP on October 10, 2007, 03:54:28 pm
By default, bezier line style is only available for state transitions and, I think, control and object flows.

If you want bezier style for any other connector type, give the connector a tagged value named "_Bezier" (case is important) with value "1". You can use this tagged value in Profiles for your own connector stereotypes. You probably shouldn't try it with assembly connectors :/
Title: Re: Bezier lines in a class diagram.
Post by: Paolo F Cantoni on October 10, 2007, 04:38:43 pm
Quote
By default, bezier line style is only available for state transitions and, I think, control and object flows.

If you want bezier style for any other connector type, give the connector a tagged value named "_Bezier" (case is important) with value "1". You can use this tagged value in Profiles for your own connector stereotypes. You probably shouldn't try it with assembly connectors :/
Could I suggest that with all these non-standard (but obviously useful) mechanisms that all be allowed...  That is, leave it up to the modeller and just mark them as non-standard in the menus and documentation?

It's just a pain having to continually "get around" the UI.  When the "engine" allows it but the UI doesn't.  Or worse still, one route through the UI doesn't, but a different route does!

Paolo


Title: Re: Bezier lines in a class diagram.
Post by: thomaskilian on October 10, 2007, 10:19:41 pm
Yes, please!
Title: Re: Bezier lines in a class diagram.
Post by: Lode on October 10, 2007, 10:33:53 pm
Quote
I suspect that the "lines" referred to are links, not free-standing lines on the page.


I mean the connectors, like the arrow that connects one class that inherits from another. I called it "lines" in this thread, because if you right click on such a connector, there is a menu "Set Line Style". That is the menu where in some diagram types "Bezier" appears as an option, in others not.

The option "Custom Line" is still there though, and if I use the CTRL key + left mouse button, the line is broken in two separatly movable segments. Since with a finite amount of such segments a Bezier line can also be approached, and that is allowed in class diagrams, why isn't the actual Bezier option?
Title: Re: Bezier lines in a class diagram.
Post by: jakob on August 16, 2011, 07:19:52 am
Quote
Quote from: KP  link=1192000327/0#4 date=1191995668
By default, bezier line style is only available for state transitions and, I think, control and object flows.

If you want bezier style for any other connector type, give the connector a tagged value named "_Bezier" (case is important) with value "1". You can use this tagged value in Profiles for your own connector stereotypes. You probably shouldn't try it with assembly connectors :/
Could I suggest that with all these non-standard (but obviously useful) mechanisms that all be allowed...  That is, leave it up to the modeller and just mark them as non-standard in the menus and documentation?

It's just a pain having to continually "get around" the UI.  When the "engine" allows it but the UI doesn't.  Or worse still, one route through the UI doesn't, but a different route does!

Paolo




I totally agree!
Title: Re: Bezier lines in a class diagram.
Post by: skiwi on March 04, 2014, 11:18:10 am
not in v11
The default lines styles that can be selected do not encompass all the line styles available
(http://i306.photobucket.com/albums/nn245/copperkiwi/Sparx/Options_2014-03-04_13-09-37_zps8fb866fb.png)

The line styles available do not include bezier
(http://i306.photobucket.com/albums/nn245/copperkiwi/Sparx/EAExample-EnterpriseArchitect_2014-03-04_13-10-50_zps9784f8bb.png)

All you can do is submit a broad feature request.
Title: Re: Bezier lines in a class diagram.
Post by: Helmut Ortmann on March 04, 2014, 05:05:44 pm
Have a look at my Addin in the community.

http://community.sparxsystems.com/community-resources/745-toolset-to-set-linestyle-quick-search-and-a-lot-more

If there is need for Bezier just ask. No big deal.

Helmut
Title: Re: Bezier lines in a class diagram.
Post by: skiwi on February 05, 2020, 02:05:09 pm

Gosh, what a blast from the past. I had to search again for this inconsistent UI feature to recall how to enable it.
Who was it who said a diagram means just what I choose it to mean - neither more no less?
Title: Re: Bezier lines in a class diagram.
Post by: KP on February 05, 2020, 02:16:47 pm
Who was it who said a diagram means just what I choose it to mean - neither more no less?

Humpty Dumpty. And it was words, not diagrams...

Quote from: Alice In Wonderland by Lewis Carroll
"When I use a word," Humpty Dumpty said, in rather a scornful tone, "it means just what I choose it to mean- neither more nor less."
"The question is," said Alice, "whether you can make words mean so many different things."
"The question is," said Humpty Dumpty, "which is to be master-that's all."