This function allows updating the configuration of an existing behavior in a g6 graph instance using a proxy object within a Shiny application.
Arguments
- graph
A g6_proxy object created with
g6_proxy
.- key
Character string identifying the behavior to update.
- ...
Named arguments representing the behavior configuration options to update and their new values.
Details
This function can only be used with a g6_proxy object within a Shiny application. It will not work with regular g6 objects outside of Shiny.
Behaviors in G6 define how the graph responds to user interactions like dragging, zooming, clicking, etc. This function allows dynamically updating the configuration of these behaviors without having to reinitialize the graph.