networkx-backbone#

Backbone extraction algorithms for complex networks, built on NetworkX.

networkx-backbone provides 65 functions across 9 modules for extracting backbone structures from weighted and unweighted networks. Core usage follows a score-then-filter pattern: methods score edges on a full graph first, then filtering utilities extract the final sparse backbone.

Module

Description

Key Functions

Statistical Methods

Hypothesis-testing methods

disparity_filter(), noise_corrected_filter()

Structural Methods

Topology-based methods

high_salience_skeleton(), metric_backbone()

Proximity Methods

Neighborhood-similarity scoring

jaccard_backbone(), cosine_backbone()

Hybrid Methods

Combined approaches

glab_filter()

Bipartite Methods

Bipartite projection backbones

sdsm(), fdsm(), fixedrow()

Unweighted Sparsification

Sparsification for unweighted graphs

sparsify(), lspar()

Filters

Post-hoc filtering utilities

threshold_filter(), fraction_filter()

Measures

Evaluation and comparison

compare_backbones(), edge_fraction()

Visualization

Comparison plotting

compare_graphs(), graph_difference()

API Reference

Development