Exploring Network Structure, Dynamics, and Function Using NetworkX
Open accessAbstract
NetworkX is a Python language package for exploration and analysis of networks and network algorithms. The core package provides data structures for representing many types of networks, or graphs, including simple graphs, directed graphs, and graphs with parallel edges and self-loops. The nodes in NetworkX graphs can be any (hashable) Python object and edges can contain arbitrary data; this flexibility makes NetworkX ideal for representing networks found in many different scientific fields. In addition to the basic data structures many graph algorithms are implemented for calculating network properties and structure measures: shortest paths, betweenness centrality, clustering, and degree distribution and many more. NetworkX can read and write various graph formats for easy exchange with existing data, and provides generators for many classic graphs and popular graph models, such as the Erdos-Renyi, Small World, and Barabasi-Albert models. The ease-of-use and flexibility of the Python programming language together with connection to the SciPy tools make NetworkX a powerful tool for scientific computations. We discuss some of our recent work studying synchronization of coupled oscillators to demonstrate how NetworkX enables research in the field of computational networks.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
POI VizNet centrality measures are based on NetworkX, a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
“POI VizNet centrality measures are based on NetworkXfoot_4 , a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks (Hagberg et al., 2008).”
From POI VizNet: New QGIS Tool to construct Visibility Networks in Cities (2024) · cites this paper as Hagberg et al., 2008
A comparison between various decomposition techniques has demonstrated the superiority of qbsolv in terms of solution quality.
“Acomparison between various decomposition techniques, i.e., principal component decomposition [185], free-and-anneal [163], qbSolv, and iterative centrality halo [172] has demonstrated the superiority of qbsolv in terms of solution quality [12].”
From Quantum Combinatorial Optimization in the NISQ Era: A Systematic Mapping Study (2024) · cites this paper as [185]
The paper’s “NetworkX in action: synchronization” section compares algorithms for rewiring networks to improve synchronization, not decomposition techniques. Searches for qbSolv and the named decomposition methods found no passage assessing their solution quality. (LLM, conf=0.78)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Matplotlib: a 2D graphics environment
Hunter, J. D. (2007) · Computing in Science & Engineering · doi:10.1109/mcse.2007.55 · Cited by 39,249 · see citing works
Flagged first, then by citations
Research works printed but not linked: 7
- Eli Ben-Naim, Hans Frauenfelder, and Zoltan Torozckai, editors. Complex Networks, vol- ume 650 of Lecture Notes in Physics. Springer, 2004.
- J. Ellson, E.R. Gansner, E. Koutsofios, S.C. North, and G. Woodhull. Graphviz and dy- nagraph -static and dynamic graph draw- ing tools. In M. Junger and P. Mutzel, edi- tors, Graph Drawing Software, pages 127-148. Springer-Verlag, 2004.
- Kenneth S. Fink, Gregg Johnson, Tom Car- roll, Doug Mar, and Lou Pecora. Three cou- pled oscillators as a universal probe of synchro- nization stability in coupled oscillator arrays. Phys. Rev. E, 61(5):5080 -90, MAY 2000.
- Christopher R. Myers and James P. Sethna. Python for education: Computational meth- ods for nonlinear systems. Computing in Sci- ence and Engineering, 9(3):75-79, 2007.
- M. E. J. Newman. The structure and function of complex networks. SIAM Review, 45(2):167 -256, June 2003.
- Robert Sedgewick. Algorithms in C: Part 5: Graph algorithms. Addison-Wesley, Reading, MA, USA, third edition, 2002.
- Todd L. Veldhuizen. Dynamic multilevel graph visualization. Eprint arXiv:cs.GR/07121549, Dec 2007.
Cited by
Sorted by citations
SCANPY: large-scale single-cell gene expression data analysis
Wolf, F. A., Angerer, P., & Theis, F. J. (2018) · Genome Biology · doi:10.1186/s13059-017-1382-0 · Cited by 8,881 · see citing works
Smajić, S., Prada-Medina, C. A., Landoulsi, Z., Ghelfi, J., Delcambre, S., Dietrich, C., Jarazo, J., Henck, J., Balachandran, S., Pachchek, S., et al. (2022) · Brain · doi:10.1093/brain/awab446 · Cited by 590 · see citing works
Understanding the diversity of the metal-organic framework ecosystem
Moosavi, S. M., Nandy, A., Jablonka, K. M., Ongari, D., Janet, J. P., Boyd, P. G., Lee, Y., Smit, B., & Kulik, H. J. (2020) · Nature Communications · doi:10.1038/s41467-020-17755-8 · Cited by 622 · see citing works
The connectome of an insect brain
Winding, M., Pedigo, B. D., Barnes, C. L., Patsolic, H. G., Park, Y., Kazimiers, T., Fushiki, A., Andrade, I. V., Khandelwal, A., Valdes-Aleman, J., et al. (2023) · Science · doi:10.1126/science.add9330 · Cited by 435 · see citing works
Quantifying the local adaptive landscape of a nascent bacterial community
Ascensao, J. A., Wetmore, K. M., Good, B. H., Arkin, A. P., & Hallatschek, O. (2023) · Nature Communications · doi:10.1038/s41467-022-35677-5 · Cited by 447 · see citing works
Joost, S., Zeisel, A., Jacob, T., Sun, X., La Manno, G., Lönnerberg, P., Linnarsson, S., & Kasper, M. (2016) · Cell Systems · doi:10.1016/j.cels.2016.08.010 · Cited by 429 · see citing works
A wellness study of 108 individuals using personal, dense, dynamic data clouds
Price, N. D., Magis, A. T., Earls, J. C., Glusman, G., Levy, R., Lausted, C., McDonald, D. T., Kusebauch, U., Moss, C. L., Zhou, Y., et al. (2017) · Nature Biotechnology · doi:10.1038/nbt.3870 · Cited by 427 · see citing works
The Rich Club of the<i>C. elegans</i>Neuronal Connectome
Towlson, E. K., Vértes, P. E., Ahnert, S. E., Schafer, W. R., & Bullmore, E. T. (2013) · The Journal of Neuroscience · doi:10.1523/jneurosci.3784-12.2013 · Cited by 343 · see citing works
The binary protein-protein interaction landscape of Escherichia coli
Rajagopala, S. V., Sikorski, P., Kumar, A., Mosca, R., Vlasblom, J., Arnold, R., Franca-Koh, J., Pakala, S. B., Phanse, S., Ceol, A., et al. (2014) · Nature Biotechnology · doi:10.1038/nbt.2831 · Cited by 233 · see citing works
Miho, E., Yermanos, A., Weber, C. R., Berger, C. T., Reddy, S. T., & Greiff, V. (2018) · Frontiers in Immunology · doi:10.3389/fimmu.2018.00224 · Cited by 189 · see citing works
Efficient quantum measurement of Pauli operators in the presence of finite sampling error
Crawford, O., Straaten, B. V., Wang, D., Parks, T., Campbell, E., & Brierley, S. (2021) · Quantum · doi:10.22331/q-2021-01-20-385 · Cited by 188 · see citing works
Evaluating explainability for graph neural networks
Agarwal, C., Queen, O., Lakkaraju, H., & Zitnik, M. (2023) · Scientific Data · doi:10.1038/s41597-023-01974-x · Cited by 186 · see citing works
Identification of disease treatment mechanisms through the multiscale interactome
Ruiz, C., Zitnik, M., & Leskovec, J. (2021) · Nature Communications · doi:10.1038/s41467-021-21770-8 · Cited by 172 · see citing works
Rooting the Animal Tree of Life
Li, Y., Shen, X.-X., Evans, B., Dunn, C. W., & Rokas, A. (2021) · Molecular Biology and Evolution · doi:10.1093/molbev/msab170 · Cited by 146 · see citing works
Molecular hallmarks of heterochronic parabiosis at single-cell resolution
Pálovics, R., Keller, A., Schaum, N., Tan, W., Fehlmann, T., Borja, M., Kern, F., Bonanno, L., Calcuttawala, K., Webber, J., et al. (2022) · Nature · doi:10.1038/s41586-022-04461-2 · Cited by 153 · see citing works
Rendeiro, A. F., Schmidl, C., Strefford, J. C., Walewska, R., Davis, Z., Farlik, M., Oscier, D., & Bock, C. (2016) · Nature Communications · doi:10.1038/ncomms11938 · Cited by 146 · see citing works
Zaitsev, A., Chelushkin, M., Dyikanov, D., Cheremushkin, I., Shpak, B., Nomie, K., Zyrin, V., Nuzhdina, E., Lozinsky, Y., Zotova, A., et al. (2022) · Cancer Cell · doi:10.1016/j.ccell.2022.07.006 · Cited by 139 · see citing works
Large-scale network analysis reveals the sequence space architecture of antibody repertoires
Miho, E., Roškar, R., Greiff, V., & Reddy, S. T. (2019) · Nature Communications · doi:10.1038/s41467-019-09278-8 · Cited by 138 · see citing works
Martinize2 and Vermouth provide a unified framework for molecular topology generation
Kroon, P. C., Grünewald, F., Barnoud, J., van Tilburg, M., Brasnett, C., Souza, P. C., Wassenaar, T. A., & Marrink, S. J. (2025) · eLife · doi:10.7554/elife.90627 · Cited by 124 · see citing works
Network-based screen in iPSC-derived cells reveals therapeutic candidate for heart valve disease
Theodoris, C. V., Zhou, P., Liu, L., Zhang, Y., Nishino, T., Huang, Y., Kostina, A., Ranade, S. S., Gifford, C. A., Uspenskiy, V., et al. (2021) · Science · doi:10.1126/science.abd0724 · Cited by 105 · see citing works
$O(N^3)$ Measurement Cost for Variational Quantum Eigensolver on Molecular Hamiltonians
Gokhale, P., Angiuli, O., Ding, Y., Gui, K., Tomesh, T., Suchara, M., Martonosi, M., & Chong, F. T. (2020) · IEEE Transactions on Quantum Engineering · doi:10.1109/tqe.2020.3035814 · Cited by 104 · see citing works
Enhanced atom-by-atom assembly of arbitrary tweezer arrays
Schymik, K.-N., Lienhard, V., Barredo, D., Scholl, P., Williams, H., Browaeys, A., & Lahaye, T. (2020) · Physical Review A · doi:10.1103/physreva.102.063107 · Cited by 94 · see citing works
Investigating Italian disinformation spreading on Twitter in the context of 2019 European elections
Pierri, F., Artoni, A., & Ceri, S. (2020) · PLOS ONE · doi:10.1371/journal.pone.0227821 · Cited by 93 · see citing works
Hippocampal replay of experience at real-world speeds
Denovellis, E. L., Gillespie, A. K., Coulter, M. E., Sosa, M., Chung, J. E., Eden, U. T., & Frank, L. M. (2021) · eLife · doi:10.7554/elife.64505 · Cited by 89 · see citing works
Comparative assessment of differential network analysis methods
Lichtblau, Y., Zimmermann, K., Haldemann, B., Lenze, D., Hummel, M., & Leser, U. (2016) · Briefings in Bioinformatics · doi:10.1093/bib/bbw061 · Cited by 76 · see citing works
Classical variational simulation of the Quantum Approximate Optimization Algorithm
Medvidović, M., & Carleo, G. (2021) · npj Quantum Information · doi:10.1038/s41534-021-00440-z · Cited by 79 · see citing works
Detecting multiple communities using quantum annealing on the D-Wave system
Negre, C. F. A., Ushijima-Mwesigwa, H., & Mniszewski, S. M. (2020) · PLOS ONE · doi:10.1371/journal.pone.0227538 · Cited by 80 · see citing works
Multiscale PHATE identifies multimodal signatures of COVID-19
Kuchroo, M., Huang, J., Wong, P., Grenier, J.-C., Shung, D., Tong, A., Lucas, C., Klein, J., Burkhardt, D. B., Gigante, S., et al. (2022) · Nature Biotechnology · doi:10.1038/s41587-021-01186-x · Cited by 72 · see citing works
Structured information extraction from complex scientific text with fine-tuned large language models
Dunn, A., Dagdelen, J., Walker, N., Lee, S., Rosen, A. S., Ceder, G., Persson, K., & Jain, A. (2022) · arXiv · doi:10.48550/arxiv.2212.05238 · Cited by 67 · see citing works
Descending networks transform command signals into population motor control
Braun, J., Hurtak, F., Wang-Chen, S., & Ramdya, P. (2024) · Nature · doi:10.1038/s41586-024-07523-9 · Cited by 51 · see citing works
igraph 1.0 enables fast and robust network analysis across programming languages
Antonov, M., Csárdi, G., Horvát, S., Müller, K., Nepusz, T., Noom, D., Salmon, M., Traag, V., Welles, B. F., & Zanini, F. (2026) · PLOS One · doi:10.1371/journal.pone.0355108 · Cited by 56 · see citing works
“NetworkX is a popular library in the Python community [10] that is written in pure Python.”
ApoC-III is a novel inducer of calcification in human aortic valves
Schlotter, F., de Freitas, R. C. C., Rogers, M. A., Blaser, M. C., Wu, P.-J., Higashi, H., Halu, A., Iqbal, F., Andraski, A. B., Rodia, C. N., et al. (2021) · Journal of Biological Chemistry · doi:10.1074/jbc.ra120.015700 · Cited by 49 · see citing works
Quantum variational optimization: The role of entanglement and problem hardness
Díez-Valle, P., Porras, D., & García-Ripoll, J. J. (2021) · Physical Review A · doi:10.1103/physreva.104.062426 · Cited by 47 · see citing works
“These problems were generated by creating regular and unstructured random graphs with the Python package networkx [50], and assigning to the edges of the graph a uniformly sampled random integer weight on the [−10, 10] interval.”
MethodSpatiotemporal localization of proteins in mycobacteria
Zhu, J., Wolf, I. D., Dulberger, C. L., Won, H. I., Kester, J. C., Judd, J. A., Wirth, S. E., Clark, R. R., Li, Y., Luo, Y., et al. (2021) · Cell Reports · doi:10.1016/j.celrep.2021.110154 · Cited by 32 · see citing works
Glimps: A machine learning approach to resolution transformation for multiscale modeling
Louison, K. A., Dryden, I. L., & Laughton, C. A. (2021) · Journal of Chemical Theory and Computation · doi:10.1021/acs.jctc.1c00735 · Cited by 35 · see citing works
Littman, R., Cheng, M., Wang, N., Peng, C., & Yang, X. (2023) · iScience · doi:10.1016/j.isci.2023.107124 · Cited by 35 · see citing works
SayPlan: Grounding Large Language Models using 3D Scene Graphs for Scalable Robot Task Planning
Rana, K., Haviland, J., Garg, S., Abou-Chakra, J., Reid, I., & Suenderhauf, N. (2023) · arXiv · doi:10.48550/arxiv.2307.06135 · Cited by 29 · see citing works
QAOAKit: A Toolkit for Reproducible Study, Application, and Verification of the QAOA
Shaydulin, R., Marwaha, K., Wurtz, J., & Lotshaw, P. C. (2021) · 2021 IEEE/ACM Second International Workshop on Quantum Computing Software (QCS) · doi:10.1109/qcs54837.2021.00011 · Cited by 31 · see citing works
Onisiforou, A., & Spyrou, G. M. (2021) · Briefings in Bioinformatics · doi:10.1093/bib/bbab141 · Cited by 23 · see citing works
“Visualization and integration of the virus–host and disease PPI networks can be performed with several open source software such as Gephi [84], Cytoscape [85], the igraph package in python and R [86] and the NetworkX package in python [87].”
MethodQuantum Combinatorial Optimization in the NISQ Era: A Systematic Mapping Study
Gemeinhardt, F., Garmendia, A., Wimmer, M., Weder, B., & Leymann, F. (2024) · ACM Computing Surveys · doi:10.1145/3620668 · Cited by 22 · see citing works
Quantum Google algorithm: Construction and application to complex networks
Paparo, G. D., Müller, M., Comellas, F., & Martin-Delgado, M. A. (2014) · The European Physical Journal Plus · doi:10.1140/epjp/i2014-14150-y · Cited by 17 · see citing works
A control theoretic approach to evaluate and inform ecological momentary interventions
Fechtelpeter, J., Rauschenberg, C., Jamalabadi, H., Boecking, B., van Amelsvoort, T., Reininghaus, U., Durstewitz, D., & Koppe, G. (2023) · doi:10.31234/osf.io/97teh · Cited by 16 · see citing works
Identifiability and experimental design in perturbation studies
Gross, T., & Blüthgen, N. (2020) · Bioinformatics · doi:10.1093/bioinformatics/btaa404 · Cited by 11 · see citing works
Noise dynamics of quantum annealers: estimating the effective noise using idle qubits
Pelofske, E., Hahn, G., & Djidjev, H. N. (2023) · Quantum Science and Technology · doi:10.1088/2058-9565/accbe6 · Cited by 12 · see citing works
A fully automated benchmarking suite to compare macromolecular complexes
Studer, G., Robin, X., Bienert, S., Durairaj, J., Škrinjar, P., Tauriello, G., Waterhouse, A. M., & Schwede, T. (2026) · Nature Methods · doi:10.1038/s41592-025-02973-z · Cited by 10 · see citing works
“All graph operations are performed using the Python NetworkX software 71 .”
Crowl, S., Coleman, M. B., Chaphiv, A., Jordan, B. T., & Naegle, K. M. (2025) · Cell Systems · doi:10.1016/j.cels.2025.101318 · Cited by 10 · see citing works
Chukwu, U., Dridi, R., Berwald, J., Booth, M., Dawson, J., Le, D., Wainger, M., & Reinhardt, S. P. (2020) · 2020 IEEE High Performance Extreme Computing Conference (HPEC) · doi:10.1109/hpec43674.2020.9286230 · Cited by 9 · see citing works
Trinkle, S., Foxley, S., Wildenberg, G., Kasthuri, N., & La Rivière, P. (2021) · NeuroImage · doi:10.1016/j.neuroimage.2021.118576 · Cited by 8 · see citing works
“All analysis was performed in Python, with graph theoretical measures calculated using the networkx package (Hagberg et al., 2008).”
MethodPDBminer to Find and Annotate Protein Structures for Computational Analysis
Degn, K., Beltrame, L., Tiberti, M., & Papaleo, E. (2023) · doi:10.1101/2023.05.06.539447 · Cited by 6 · see citing works
Threshold for Fault-tolerant Quantum Advantage with the Quantum Approximate Optimization Algorithm
Omanakuttan, S., He, Z., Zhang, Z., Hao, T., Babakhani, A., Boulebnane, S., Chakrabarti, S., Herman, D., Sullivan, J., Perlin, M. A., et al. (2025) · arXiv · doi:10.48550/arxiv.2504.01897 · Cited by 3 · see citing works
“To minimize the runtime of the phaser, we use a graph coloring algorithm [63] to partition clauses into subsets such that every subset consists of clauses that address mutually disjoint sets of qubits.”
An interpretable molecular framework for predicting cancer driver missense mutations
Yang, Y., Sun, W., Liu, Y., Zhang, J., & Li, M. (2026) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.2524289123 · Cited by 3 · see citing works
Dedieu, A., Lehrach, W., Zhou, G., George, D., & Lázaro-Gredilla, M. (2024) · arXiv · doi:10.48550/arxiv.2401.05946 · Cited by 2 · see citing works
“We then call the external solver networkx.shortest_path (Hagberg et al., 2008) to find the shortest path between these two nodes.”
BackgroundPOI VizNet: New QGIS Tool to construct Visibility Networks in Cities
Natapov, A., Dalyot, S., & Cohen, A. (2024) · ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences · doi:10.5194/isprs-annals-x-4-2024-239-2024 · Cited by 1 · see citing works
ConceptFormer: Towards Efficient Use of Knowledge-Graph Embeddings in Large Language Models
Barmettler, J., Bernstein, A., & Rossetto, L. (2025) · arXiv · doi:10.48550/arxiv.2504.07624
“The JSON structure is easily loaded into tools such as NetworkX [15], enabling further graph-based processing or embedding.”
Chan, V. S., Mohamed, F. B., Salleh, F. B. M., Iglesias, A., Abdul-Rahman, A., Miga, M., Najjar, F. H., & Cao, C. (2026) · Information Visualization · doi:10.1177/14738716261498353
- Authors
- Hagberg, A. A., Schult, D. A., & Swart, P. J.
- Affiliations
- Los Alamos National Laboratory (US)
- Colgate University, Hamilton, NY USA
- ORCID
- Hagberg, Aric A.
- Venue
- Proceedings of the Python in Science Conference
- Publisher
- SciPy
- Published
- 2008-06-28
- Pages
- 11-15
- ISSN
- 2575-9752 (ISSN-L)
- OpenAlex
- W2132022337
- Cited by
- 7,477
- References
- 1
- Citations by year
- 2026: 830 · 2025: 1016 · 2024: 893 · 2023: 805 · 2022: 714 · 2021: 836 · 2020: 564 · 2019: 455 · 2018: 309 · 2017: 231 · 2016: 221 · 2015: 182 · 2014: 152 · 2013: 104 · 2012: 90
- FWCI
- 29.24
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- Locations
- Proceedings of the Python in Science Conferences (publishedVersion, cc-by)
- Funders
- U.S. Department of Energy (DE-AC52-06NA2-5396, AC52-06NA25396)
- National Nuclear Security Administration (DEAC52- 06NA25396)
- Los Alamos National Laboratory (AC52-06NA25396, DE-AC52-06NA25396)
- Topics
- Physical Sciences › Physics and Astronomy › Statistical and Nonlinear Physics › Complex Network Analysis Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Computational Physics and Python Applications
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Graph Theory and Algorithms
- Keywords
- NetworkX, network analysis, graph data structures, graph algorithms, network characteristics, graph generators, Erdős-Rényi random graphs, small-world networks, Barabási-Albert model, computational networks
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review