• v2.7.0 1356c4222e

    tfardet released this 2023-04-17 15:42:15 +00:00 | 2 commits to main since this release

    Support graph-tool >= 2.4.6 (7a3d3a983e)
    Support networkx >= 3 (7a3d3a983e)
    Move to pyproject.toml (6b788d4528)
    Make project REUSE compliant (6b788d4528)

    Fix bug for igraph node attributes (db3aacc480)

  • v2.6.0 a8cd41d595

    tfardet released this 2022-09-29 08:47:59 +00:00 | 9 commits to main since this release


    • support for directed chord-diagrams (3363904c4c)
    • better matplotlib plots with igraph (492b9c8824)
    • move to the Furo theme for the documentation (3363904c4c)


    • correct get_density for undirected graphs and add ignore_loops option (c66b0577ea)
    • support newer version of natural_earth maps in geospatial (492b9c8824)
    • support NEST versions > 3.1 (previously crashing) (492b9c8824)


  • v2.5.3 3f511d3c5c

    tfardet released this 2021-11-18 14:39:32 +00:00 | 18 commits to main since this release

    This release fixes an issue with randomize_neural_states and NEST

  • v2.5.2 baf39c545c

    tfardet released this 2021-11-17 11:29:57 +00:00 | 19 commits to main since this release

    This bugfix version upgrades the geometry submodule to make it ready for the upcoming 2.0 version of Shapely.
    It also improves the GraphML IO functions so that they support graphs with missing attributes.

  • v2.5.1 411a6f175d

    tfardet released this 2021-10-15 09:09:28 +00:00 | 22 commits to main since this release

    This is mostly a bugfix version but it also introduces harmonic centrality support with igraph and node annotations on plots.

    New features

    • Support for harmonic centrality with igraph (52aec27d).
    • Node annotations when hovering on nodes in plots (81c7da08)


    Circular self-loops on network plots (81c7da08).


    • Fix curved edges and sizes (81c7da08)
    • improved spatial support (to_undirected and Graph init, e83fd6a4)
    • Fix spectral radius for unweighted graphs (f2dc429c)
    • Fix save_spikes and receptor port support with NEST (f2dc429c)
  • v2.5.0 552f04733d

    tfardet released this 2021-08-18 10:28:37 +00:00 | 28 commits to main since this release

    This new version adds support for NetworkX 2.6+, introduces a new network model, improves IO and plotting modules, and extends the list of functions that are supported by the default backend (if networkx, igraph, and graph-tool are not installed on the system).

    New features

    • sparse_clustered: it is now possible to generate sparse graphs with a desired clustering coefficient, this comes with an associated rewiring scheme (f45d0a9b)
    • support for GraphML file format (a9f8710d)
    • support for NetworkX 2.6+ (f4e5002e)


    • More efficient edge attribute access (speed and memory improvements, c8f29951)
    • Improved plots (color and size support for nodes and edges, visible arrows for directed networks..., 7f5340b8 & ccdd627f)
    • Add connectedness test with nngt default backend (d3979a15)


    Correct delete_edges for nngt backend that did not update the node degrees (b1ca08df).

  • v2.4.0 1a95fe3843

    tfardet released this 2021-06-21 08:27:48 +00:00 | 39 commits to main since this release

    This new release brings the possibility to plot graph together with geospatial data and adds support for the new NEST 3 release.

    New features

    • the geospatial module and its draw_map function.
    • support for NEST 3


    • faster and more versatile get_edges function
    • improved support of undirected graphs with non-positive weight attributes
    • check for ununsed keywords arguments when creating Graph objects


    • Correct SWP if deviations are negative
    • default NeuralGroup is excitatory
    • fix Structure.create_meta_group
    • fix error in new_edges for empty edge list
  • v2.3.0 d6bea32cba

    tfardet released this 2021-02-23 16:50:09 +00:00 | 50 commits to main since this release

    This new release includes a lot of bugfixes and under-the-hood improvements as well as a set of new tools for better analysis, especially with undirected measures.

    All testing and main code hosting has been moved to SourceHut and the documentation has been updated and now includes an automatic dark theme for all browser requesting it.

    New features

    • to_undirected method, to create undirected counterparts from directed (even weighted) networks (patch 20376)
    • local_closure as a complementary tool for clustering (#155), see [Yin2019]
    • Zhang--Horvath method for weighted clustering (#146), see [Zhang2005]


    • improved support for positions/structures (#149)
    • improved from_matrix class method to support all Graph arguments (#149)
    • improved plots: positional layout and opacity (#149):
      • layout can now be a list of custom positions.
      • added ealpha and nalpha support for edge and node transparency.
    • shortest path and path length method can be used in "undirected" mode on directed weighted networks (patch 20470)


    • corrected calculation of weighted path length for SWP (patch 20470)
    • fixed circular graph and lattice reciprocity (patch 20412)
    • corrected spatial plots with networkx (#154)
    • fixed IO issue with non-string node attributes (#152)
    • fixed nonstring_container import for RNGs (#151)
    • fixed edge deletion with nngt backend (#149)

    Breaking change

    Default mode for SWP is now to use the average local clustering instead of the global clustering.

  • v2.2.1 67282314a9

    Silmathoron released this 2020-12-04 15:51:10 +00:00 | 62 commits to main since this release

    This release fixes several issues with edge deletion on all backends except networkx (see #137 and #141).
    It also corrects several issues with the connector functions (#145).
    Finally, it also shows the addition of the Price connectivity scheme with some generalizations (#138 and #139).

    Most of all, it will fix the PyPi issue regarding the plot module, since I forgot to add the new mpl_chord_diagram submodule in the previous release, making the plot module unusable.

  • v2.2.0 4ffd69e9c4

    Silmathoron released this 2020-11-18 17:54:21 +00:00 | 68 commits to main since this release

    This new release of NNGT brings about a set of new plotting functions and better functionalities for non-neuronal structured graphs through the Structure and Group classes and the get_structure_graph function.

    New features:

    • Addition of hive plots (#108)
    • Add chord diagrams from mpl_chord_diagram (#107)
    • Add Structure/Group classes for non-neuronal ensembles and structure graph to analyze connections between groups (#105 & #107)
    • (Neural)Groups get an add_nodes method (#110)


    • Speedup get_edges (#132)
    • Added edge and node deletion methods (#129)
    • Improved plots and created documentation gallery (#109)


    • correct "eid" attribute issue when copying graphs (#134)
    • correct global clustering for unweighted directed networks (#131)
    • fix io string issue for node/edge attributes and node/edge deletion (#103 & #130)
    • fix returned degrees and clustering for a subset of nodes (#126)
    • proper copy of returned attributes with graph-tool (#125)
    • correct save_spikes (#122)
    • fix delays setting (#121)
    • correct graph loading with 0-out-degree neighbour lines (#118)
    • fix undirected clustering for weighted directed networks (#112)
    • fix loading with from_matrix (#112)
    • get_edges with source/target node for undirected graphs (#102)