sg_eventsfunction. Previously sigmajs sent all events to the server when in Shiny, this caused the whole visualisation to nearly crash when enabling edges events as too many events/too much data was sent to the server. You now need to specify which events you want to captur with
sg_events. The shiny documentation has been changed to reflect those changes.
Overall install size reduced.
igraphobject saved to speed up computations.
sg_scale_colorto scale color according to node size.
sg_get_edges_padded to retrieve nodes and edges from draw graph.
sg_drop_nodes_pnow function properly.
nameargument as well as
sg_filter_undo_pto undo fitlers (by name) as well as new functions to filter neightbours and more.
sg_clearadded to clear the graph.
sg_change_*_pfamily added to change nodes and edges attributes on the fly.
sg_read_*_pfamily of functions to easily add nodes and edges in bulk.
sg_read_delay_*_pfamily of functions to easily add nodes and edges in bulk with a delay.
sg_buttonmake use of
htmlwidgetsfunction to prepend or append elements rather than the previous hacky way; improved performances.
groupwas not initialised in correct FUN.
sg_get_layoutreturns nodes with coordinates rather than just the coordinates.
sg_neighboursnow takes nodes and edges color as argument.
sg_layoutadded - layout graph using
sg_get_layoutadded - helper to extract
ycoordinates, mainly for animations.
sg_clusteradded - color nodes by cluster.
sg_get_clusteradded - helper to get nodes color by cluster.
sg_buttonadded - Add buttons to trigger events in static documents.
sg_export_padded - To export the graph.
sg_progressadded - show dynamic text.
sg_neighbors) added - highlight neighbours on click.
sg_filter_lt_padded - filter nodes, edges or both.
shiny demo added.
sg_force_stop- stops the forceAtlas2 layout after a given delay.
sg_force_startadded, same as
sg_add_edges- Add nodes or edges to a static graph.
drop_edges_delay_pProxy to drop nodes or edges with a delay.
drop_edges_delayDrop nodes or edges with a delay.