token_select_decoration: Decoration callback for token selection

Description Usage Arguments Value See Also Examples

View source: R/decorations.R

Description

Decoration callback for token selection

Usage

1
token_select_decoration(stroke = "black")

Arguments

stroke

Sets the 'stroke' attribute of selected tokens.

Value

A JavaScript callback function called when token selection changes.

See Also

animate_process

Examples

1
2
# Create a decoration callback that paints tokens red
token_select_decoration("red")

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