Decoration callback for activity selection
activity_select_decoration( stroke_dasharray = "2", stroke_width = "2", stroke = "black" )
A JavaScript callback function called when activity selection changes.
Sets the `stroke-dasharray` attribute for selected activities.
Sets the `stroke-width` attribute for selected activities.
Sets the `stroke` attribute for selected activities.
animate_process
# Create a decoration callback that increases the activity stroke width activity_select_decoration(stroke_width = "5")
Run the code above in your browser using DataLab