Skip to content

v1.1

Choose a tag to compare

@nelsonaloysio nelsonaloysio released this 21 Nov 17:06
· 34 commits to main since this release
d9b9363

Full Changelog: v1.0...v1.1


Added

  • Element-specific drawing functions with NetworkX: draw_networkx_{nodes,edges,labels,edge_labels}.
  • Event-based representation with to_events using floats for interaction duration/interval.
  • Function is_frozen to return single boolean value for temporal graph object.
  • High-level draw function to support wrapping around possible multiple backends.
  • Multigraph transform functions: {from,to}_multigraph.
  • Override for is_frozen to return single boolean value for temporal graph.

Changed

  • Drawing defaults for node and edge colors using Matplotlib's tab10 palette.
  • Drawing parameter layout now accepts a callable to calculate node positions.
  • Function draw refactored and renamed to draw_networkx.
  • Module drawing renamed from draw.
  • Module utils renamed from convert.
  • Moved tests to repository root folder.
  • Number of nodes when calling str on a temporal graph object do not consider node copies.
  • Optimized from_events function to use ranges to process edge addition/deletion (1/-1) events.
  • Output of from_events is a (frozen) subgraph view if as_view=True for reduced memory footprint.
  • Output of from_events is a multigraph if parallel edges are not found and multigraph=None.
  • Restructured package reference in documentation.

Fixed

  • Exception from rounded time values on slice resulting in duplicate categories.
  • Exception in case a list of static graphs is passed as input to write_graph.
  • Inconsistent to_events output in case of frozen graphs.
  • Inconsistent from_events output in case of infinitely preserved edges.

Removed

  • Parameter from to_events: stream (replaced with eps).
  • Parameters from draw: fig_opts and temporal_opts (replaced with temporal_...).