Releases: JohnCoene/sigmajs
Releases · JohnCoene/sigmajs
Back on CRAN
Back on CRAN
Breaking Changes
- New
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 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.
igraphobject saved to speed up computations.- Added
sg_scale_colorto scale color according to node size. sg_noverlap_pfixed.sg_zoom_padded.- fixed many events callbacks.
sg_get_nodes_pandsg_get_edges_padded to retrieve nodes and edges from draw graph.sg_drop_edges_pandsg_drop_nodes_pnow function properly.- The filter family of functions has been reworked and sees the addition of the
nameargument as well assg_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.- Event improved.
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.
Buttons & Viewer
- Add multiple buttons with
sg_button. sg_progress*sg_buttonmake use ofhtmlwidgetsfunction 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_exportsplit intosg_export_imgandsg_export_svg.- Small bugfix where crosstalk
keyandgroupwas not initialised in correct FUN. - Added support for button to trigger nodes and edges dynamic addition.
sg_get_layoutreturns 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_neighboursnow takes nodes and edges color as argument.
sigmajs 0.1.0
- Crosstalk integration
sg_layoutadded - layout graph usingigraphpackage.sg_get_layoutadded - helper to extractxandycoordinates, 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_exportandsg_export_padded - To export the graph.sg_progressadded - show dynamic text.sg_neighbours(&sg_neighbors) added - highlight neighbours on click.sg_filter_gt_pandsg_filter_lt_padded - filter nodes, edges or both.