Add parameter to style participant line #11

Merged
HEL merged 5 commits from feat/10-participant-line-styling into dev 2025-07-09 20:47:51 +00:00
6 changed files with 17 additions and 16 deletions
Showing only changes of commit f94c6f25a2 - Show all commits

View File

@ -34,6 +34,7 @@
/// - invisible (bool): If set to true, the participant will not be shown /// - invisible (bool): If set to true, the participant will not be shown
/// - shape (str): The shape of the participant. Possible values in @@SHAPES /// - shape (str): The shape of the participant. Possible values in @@SHAPES
/// - color (color): The participant's color /// - color (color): The participant's color
/// - line-stroke (stroke): The participant's line style (defaults to a light gray dashed line)
/// - custom-image (none, image): If shape is 'custom', sets the custom image to display /// - custom-image (none, image): If shape is 'custom', sets the custom image to display
/// - show-bottom (bool): Whether to display the bottom shape /// - show-bottom (bool): Whether to display the bottom shape
/// - show-top (bool): Whether to display the top shape /// - show-top (bool): Whether to display the top shape
@ -45,6 +46,11 @@
invisible: false, invisible: false,
shape: "participant", shape: "participant",
color: rgb("#E2E2F0"), color: rgb("#E2E2F0"),
line-stroke: (
dash: "dashed",
paint: gray.darken(40%),
thickness: .5pt
),
custom-image: none, custom-image: none,
show-bottom: true, show-bottom: true,
show-top: true, show-top: true,

Binary file not shown.