I'd like to have a legend (or a note) with a table, describing all the styled lines in a diagram.
so, I'd want something like:
!$style1 = "#red,dashed"
!$style2 = "#blue,dotted"
| Line Style | Description |
| -[$style1]-> | Scenario 1 |
| -[$style2]-> | Scenario 2 |
the Line Style column should have to display visually the lines with their styles applied.
So, I'd like to see it something like this (this snippet is just a visualization, demoing what I'd like to achieve within the cells):
Note, that I do have to use the $style1 and $style2 within the legend (cannot put just <color:#red>--></color>, etc., for example) since the styles come from an external configuration.
Is there a way to achieve this?