# Basic canvas configuration
config <- canvas_config(
container = "#graph-container",
width = 800,
height = 600
)
# Canvas with multi-layer rendering enabled
config <- canvas_config(
container = "#graph-container",
width = 1000,
height = 700,
enableMultiLayer = TRUE,
cursor = "grab"
)
Run the code above in your browser using DataLab