Releases: JohnCoene/sigmajs
Releases · JohnCoene/sigmajs
Back on CRAN
Back on CRAN
Breaking Changes
- New
sg_events
function. 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 withsg_events
. The shiny documentation has been changed to reflect those changes.
Minor
- Improved random graph generators for more sensible examples
- Removed renderer type as it breaks arrows on edges.
Optimization
Overall install size reduced.
igraph
object saved to speed up computations.- Added
sg_scale_color
to scale color according to node size. sg_noverlap_p
fixed.sg_zoom_p
added.- fixed many events callbacks.
sg_get_nodes_p
andsg_get_edges_p
added to retrieve nodes and edges from draw graph.sg_drop_edges_p
andsg_drop_nodes_p
now function properly.- The filter family of functions has been reworked and sees the addition of the
name
argument as well assg_filter_undo_p
to undo fitlers (by name) as well as new functions to filter neightbours and more. sg_clear
added to clear the graph.sg_change_*_p
family added to change nodes and edges attributes on the fly.- Event improved.
sg_read_*_p
family of functions to easily add nodes and edges in bulk.sg_read_delay_*_p
family of functions to easily add nodes and edges in bulk with a delay.
Buttons & Viewer
- Add multiple buttons with
sg_button
. sg_progress
*sg_button
make use ofhtmlwidgets
function to prepend or append elements rather than the previous hacky way; improved performances.- Improved documentation.
- Works in RStudio viewer.
Init CRAN
Initial CRAN version.
JOSS
sg_export
split intosg_export_img
andsg_export_svg
.- Small bugfix where crosstalk
key
andgroup
was not initialised in correct FUN. - Added support for button to trigger nodes and edges dynamic addition.
sg_get_layout
returns nodes with coordinates rather than just the coordinates.- Graphs open in browser by default + warning is sent to console when using RStudio.
- Added ability to trigger multiple events from the button.
- Fixed bug in cluster and layout function where igraph would error on duplicate vertex name.
sg_neighbours
now takes nodes and edges color as argument.
sigmajs 0.1.0
- Crosstalk integration
sg_layout
added - layout graph usingigraph
package.sg_get_layout
added - helper to extractx
andy
coordinates, mainly for animations.sg_cluster
added - color nodes by cluster.sg_get_cluster
added - helper to get nodes color by cluster.sg_button
added - Add buttons to trigger events in static documents.sg_export
andsg_export_p
added - To export the graph.sg_progress
added - show dynamic text.sg_neighbours
(&sg_neighbors
) added - highlight neighbours on click.sg_filter_gt_p
andsg_filter_lt_p
added - filter nodes, edges or both.