Book a Demo

Author Topic: Connector Autocolor legends don't apply Line Width with shapescript  (Read 3056 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
If you try to set up an autocolor connector Legend you'll likely encounter some difficulties (if you have a shape script).

It turns out that if your shapescript DOESN'T have a shape main {}, then the line width aspect of the legend will be applied.  As soon as you create the simplest shape main {} the connector no longer responds to the linewidth value.
Code: [Select]
shape main
{
noshadow = true;
moveto(0,0);
lineto(100,0);
}

The line colour is correctly applied in all cases.

This was tested with the Connector.Stereotype filter, but previous testing shows the problem to be universal.

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