activity_select_decoration: Decoration callback for activity selection

Description Usage Arguments Value See Also Examples

View source: R/decorations.R

Description

Decoration callback for activity selection

Usage

1
2
3
4
5
activity_select_decoration(
  stroke_dasharray = "2",
  stroke_width = "2",
  stroke = "black"
)

Arguments

stroke_dasharray

Sets the 'stroke-dasharray' attribute for selected activities.

stroke_width

Sets the 'stroke-width' attribute for selected activities.

stroke

Sets the 'stroke' attribute for selected activities.

Value

A JavaScript callback function called when activity selection changes.

See Also

animate_process

Examples

1
2
# Create a decoration callback that increases the activity stroke width
activity_select_decoration(stroke_width = "5")

processanimateR documentation built on March 26, 2020, 7:52 p.m.