token_select_decoration {processanimateR} | R Documentation |
Decoration callback for token selection
token_select_decoration(stroke = "black")
stroke |
Sets the 'stroke' attribute of selected tokens. |
A JavaScript callback function called when token selection changes.
animate_process
# Create a decoration callback that paints tokens red
token_select_decoration("red")