Book a Demo

Author Topic: Bezier lines in a class diagram.  (Read 9217 times)

Lode

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Bezier lines in a class diagram.
« 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?

Thomas Mercer-Hursh

  • EA User
  • **
  • Posts: 386
  • Karma: +0/-0
  • Computing Integrity
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #1 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.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #2 on: October 10, 2007, 07:14:50 am »
I suspect that the "lines" referred to are links, not free-standing lines on the page.
No, you can't have it!

thomaskilian

  • Guest
Re: Bezier lines in a class diagram.
« Reply #3 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)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #4 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 :/
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #5 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


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

thomaskilian

  • Guest
Re: Bezier lines in a class diagram.
« Reply #6 on: October 10, 2007, 10:19:41 pm »
Yes, please!

Lode

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #7 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?

jakob

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #8 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!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #9 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


The line styles available do not include bezier


All you can do is submit a broad feature request.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #10 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
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #11 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?
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Bezier lines in a class diagram.
« Reply #12 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."
The Sparx Team
[email protected]