Login
Remember
Register
PlantUML Q&A
*NEW* Discord server
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Using icons for participants in sequencers
0
votes
asked
Mar 8, 2019
in
Question / help
by
alatar_the_grey
(
120
points)
Is it possible to assign icons (or maybe sprites) to participants? Instead of the usual box with the participant name inside, I would like to use an icon instead.
sequence-diagram
icon
sprite
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
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
.
1 Answer
+1
vote
answered
Mar 8, 2019
by
anoff
(
160
points)
You could use the Open Iconic implementation with the <&key> syntax for example, see
https://blog.anoff.io/img//puml-cheatsheet.pdf
Example:
http://www.plantuml.com/plantuml/uml/RP0nJyD038Lt_mghI7IgnC0KLL7Bd0du0ywTavvwjOFFKGM8_ywbB4Jguk6zxprRFXGdy_cIePoJJ6HqmJezXJIHE7u3uejQP0kQrL1KU94ed4VJMU9AVZjHr6kI4GVAXU47ABXQRUZnmJZ25jzFZ2hv4sCQ1ZQMmDYpNva5Rp1iIUBgXbJGQoeQBTNmtzhiI_hYvlcftJ-EMNjkDqW5Eu1ZJe5tRTtSu76kUQaXygI2h_mnSt6etgwzSNUGCgaK_cEw1ZiTqOsaK5W0EB34-hLV
I would suggest picking a participant type you do not use in your diagram otherwise and setting it to be "transparent", however there currently seems to be an issue with turning of the shadows; I posted a comment about this here:
http://forum.plantuml.net/5366/please-provide-skinparam-shadowing-elements-individually?show=9154#c9154
commented
Mar 8, 2019
by
alatar_the_grey
(
120
points)
Got it. It looks like I can use sprites as well.
I'll browse around and see how I can create my own library of custom icons.
Thanks!
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
Better syntax for using Stdlib icons?
Support icons/sprites/images and inline style on spot
Associate icons to compound components through stereotypes and sprites
cannot remove shadow in sequence diagrams for all kind of participants
listsprite for stdlib?
All categories
Question / help
(1,457)
Bug
(1,636)
Wanted features
(1,419)
Closed question / help
(88)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(12)
Can't help
(9)
To be deleted
(10)
To be sorted
(429)
...