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