How to add arrows to a legend or a table?

+2 votes
asked May 27 in Question / help by CaribeLady

I want to create a legend where I give the meaning of the arrows. As follows. However 

legend
   |=|= blah|
   | --> | blah1|
   | -[dashed]-> |blah2|
   | -[dotted]-> | blah3 |
endlegend

Somehow I did not find a way to upload an image, but the arrows do not show. Just the same as the text.

1 Answer

0 votes
answered Aug 31 by The-Lu (7,960 points)

Hello C.

Adapted from: https://forum.plantuml.net/9142/how-to-explain-used-line-types-associations-in-a-diagram

and from this answer : https://forum.plantuml.net/9142/how-to-explain-used-line-types-associations-in-a-diagram?show=9149#c9149

→ "You can create an image and after use it on all your diagrams [or legend table]"
[With this constraint: the [image] output must be a PNG]

Here is a possible example:


[Code on PlantUML online server]

If that can help,
Regards,
Th.

commented Sep 1 by anonymous

Thank you very much!, This might work. And I ask for something along these lines. However, looks like the feature of having a diagram inside a table is not enabled yet. If so, these table was a lot easier to do.

...