State diagram legend with arrow style

0 votes
asked Mar 9, 2016 in Wanted features by anonymous
edited Mar 9, 2016

Hi!

Is there a way to display the arrow styled (color, plus bold/dashed) in a legend table?

The only workaround I found is using a state (not legend):

!define MAIN_STYLE_ACTIVE_COLOR #007700
!define MAIN_STYLE_ACTIVE_OUT [bold,MAIN_STYLE_ACTIVE_COLOR]
 
!define MAIN_STYLE_SLEEP_COLOR #000077
!define MAIN_STYLE_SLEEP_OUT [bold,MAIN_STYLE_SLEEP_COLOR]
 

state "Arrows (relations)" as Arrows #White : | Style | Meaning |\n| <color:MAIN_STYLE_ACTIVE_COLOR>**MAIN_STYLE_ACTIVE_OUT**</color> | Active Mode out |\n| <color:MAIN_STYLE_SLEEP_COLOR>**MAIN_STYLE_SLEEP_OUT**</color> | Sleep Mode out |\n| 

etc.

So, i get something like this:

Style  Meaning
[bold,#007700] Active Mode out
[bold,#000077] Sleep Mode out

But it is not exactly how I want my legend to look. Instead of color and style code i'd like the styled arrow itself to appear in the legend. Is there something better I could do about it?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...