This function allows updating the configuration of an existing plugin in a g6 graph instance using a proxy object within a Shiny application.
g6_update_plugin(graph, key, ...)
The g6_proxy object (invisibly), allowing for method chaining.
A g6_proxy object created with g6_proxy
.
Character string identifying the plugin to update.
Named arguments representing the plugin configuration options to update and their new values.
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.
The function allows dynamically updating the configuration of an existing plugin without having to reinitialize it. This is useful for changing plugin behavior or appearance in response to user interactions.
g6_proxy
, g6_add_plugin