token_select_decoration: Decoration callback for token selection

View source: R/decorations.R

token_select_decorationR Documentation

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

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


processanimateR documentation built on July 20, 2022, 5:06 p.m.