Updates the selection state of a Plotly component when a shared ID is selected or deselected from another linked component.
update_plotly_selection(component_id, selected_id, session, components)NULL (invisible). Function is called for side effects only.
Character string. The ID of the Plotly component to update.
The shared ID value to select. If NULL, deselects all points.
Shiny session object for the current user session.
List containing component configuration information.