add_listener: Add a listener

add_listenerR Documentation

Add a listener

Description

Add a listener to report data from a 'sgraph' object in 'Shiny' back to the R session.

Usage

add_listener(sigma_obj, listener)

Arguments

sigma_obj

Sgraph object, created using the sigma_from_igraph function

listener

Either "clickNode" to listen to node clicks or "hoverNode" to listen to node hover

Value

Sgraph object with listener


sgraph documentation built on Sept. 12, 2024, 7:06 a.m.