processanimateR (version 1.0.1)

token_select_decoration: Decoration callback for token selection

Description

Decoration callback for token selection

Usage

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

Run this code
# NOT RUN {
# Create a decoration callback that paints tokens red
token_select_decoration("red")

# }

Run the code above in your browser using DataLab