Book a Demo

Author Topic: [fill-color of connections]  (Read 10306 times)

gkathan

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • ...de-accelerat e...
    • View Profile
[fill-color of connections]
« on: May 22, 2008, 05:47:27 pm »
hej,
this is a very small cosmetic issue:
* i cannot find any possibility to change the fill-color of generalization triangle (arrow) and the aggregation diamond
=> the "fill color" is greyed out when i try to apply it to such kinds of associations
=> the color of these "guys" is always the default color, which somehow looks nasty if a consistent color code is applied in a diagram

is there any workaround - or is this a feature request ?

greetz from vienna
gerold

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: [fill-color of connections]
« Reply #1 on: May 22, 2008, 10:38:38 pm »
Hi Gerold,

I do not think there is any option for this. Perhaps you could do it with a shape script, but the need to stereotype the generalization would likely defeat your purpose.

As far as a feature request, I don't know. There have been requests for more control over association formats in general (i.e. the whole line), but I do not remember seeing anything specific to what you want.

Remember that this is a user forum, meant primarily for discussion. Though the Sparxians are very active participants this is not the 'official' way to make feature requests. For that reason not all requests are identified in this forum, and not all suggestions made here are taken up - even for consideration, let alone implementation - by Sparx.

What I suggest you do is send a feature request directly to Sparx. You can do this by clicking the Feature Request link below the Support link near the bottom of any forum page. If you paste in the URL of this thread (and perhaps quote the title) that will make it easy for the Sparx team to see and join any further discussion here.

Also, please post back to this thread if you hear back from Sparx, and keep the rest of us in the loop.

David
No, you can't have it!

Thomas Mercer-Hursh

  • EA User
  • **
  • Posts: 386
  • Karma: +0/-0
  • Computing Integrity
    • View Profile
Re: [fill-color of connections]
« Reply #2 on: May 23, 2008, 02:32:30 am »
I might note that, even with a shape script, the coloration and line treatment in the shape script seems to apply only to the line, not the decoration(s) at the end.  I.e., I can create a blue dashed line or weight 2 and I will still have a black arrowhead of weight 1. :(

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: [fill-color of connections]
« Reply #3 on: May 23, 2008, 08:56:50 am »
Quote
I might note that, even with a shape script, the coloration and line treatment in the shape script seems to apply only to the line, not the decoration(s) at the end.  I.e., I can create a blue dashed line or weight 2 and I will still have a black arrowhead of weight 1. :(
Try something like this:

Code: [Select]
shape main
{
      noshadow=true;
      setpencolor(0,0,255);
      lineto(100,0);
}

shape target
{
      setpencolor(0,0,255);
      setfillcolor(0,255,0);
      startpath();
      moveto(0,0);
      lineto(16,6);
      lineto(16,-6);
      endpath();
      fillandstrokepath();
}

label middlebottomlabel
{
      print("");
}
The Sparx Team
[email protected]

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: [fill-color of connections]
« Reply #4 on: May 23, 2008, 09:07:03 am »
Quote
i cannot find any possibility to change the fill-color of generalization triangle (arrow) and the aggregation diamond
A very round-about way of doing this would be to change the default Element Fill colour (Tools > Options > Standard Colors) which will change the colour of generalization and aggregation arrowheads, and then use a template package to change back the default colour of each element type.

Quote
or is this a feature request ?
I think so, yes  :-/
The Sparx Team
[email protected]