# Basic configuration
config <- brush_select()
# Custom configuration
config <- brush_select(
animation = TRUE,
enableElements = c("node", "edge"),
mode = "union",
state = "highlight",
style = list(
fill = "rgba(0, 0, 255, 0.1)",
stroke = "blue",
lineWidth = 2
),
trigger = c("Shift")
)
Run the code above in your browser using DataLab