Decoration callback for token selection
token_select_decoration(stroke = "black")
Sets the `stroke` attribute of selected tokens.
A JavaScript callback function called when token selection changes.
animate_process
# NOT RUN { # Create a decoration callback that paints tokens red token_select_decoration("red") # }
Run the code above in your browser using DataLab