Skip to content

Releases: JohnCoene/sigmajs

Back on CRAN

18 Jun 18:12
Compare
Choose a tag to compare

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 with sg_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

09 Apr 14:04
Compare
Choose a tag to compare

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 and sg_get_edges_p added to retrieve nodes and edges from draw graph.
  • sg_drop_edges_p and sg_drop_nodes_p now function properly.
  • The filter family of functions has been reworked and sees the addition of the name argument as well as sg_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

18 Nov 15:19
Compare
Choose a tag to compare
  • Add multiple buttons with sg_button.
  • sg_progress * sg_button make use of htmlwidgets function to prepend or append elements rather than the previous hacky way; improved performances.
  • Improved documentation.
  • Works in RStudio viewer.

Init CRAN

31 Aug 20:17
Compare
Choose a tag to compare

Initial CRAN version.

JOSS

09 Aug 19:19
Compare
Choose a tag to compare
  • sg_export split into sg_export_img and sg_export_svg.
  • Small bugfix where crosstalk key and group 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

27 Jun 17:30
Compare
Choose a tag to compare
  • Crosstalk integration
  • sg_layout added - layout graph using igraph package.
  • sg_get_layout added - helper to extract x and y 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 and sg_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 and sg_filter_lt_p added - filter nodes, edges or both.