NetworkX

A graph created with NetworkX

Original author(s)| Aric Hagberg
Pieter Swart
Dan Schult
Developer(s)| Many others
Initial release| 11 April 2005; 21 years ago (2005-04-11)[1][2]
Written in| Python
Operating system| Cross-platform
Type| Software library
License| BSD-new license
Website| networkx.github.io
Network science

* Theory

* Graph
* Complex network
* Contagion
* Small-world
* Scale-free
* Community structure
* Percolation
* Evolution
* Controllability
* Graph drawing
* Social capital
* Link analysis
* Optimization
* Reciprocity
* Closure
* Homophily
* Transitivity
* Preferential attachment
* Balance theory
* Network effect
* Social influence

Network types

* Informational (computing)
* Telecommunication
* Transport
* Social
* Scientific collaboration
* Biological
* Artificial neural
* Interdependent
* Semantic
* Spatial
* Dependency
* Flow
* on-Chip

Graphs
|  Features

* Clique
* Component
* Cut
* Cycle
* Data structure
* Edge
* Loop
* Neighborhood
* Path
* Vertex
* Adjacency list / matrix
* Incidence list / matrix

Types

* Bipartite
* Complete
* Directed
* Hyper
* Multi
* Random
* Weighted

* Metrics
* Algorithms

* Centrality
* Degree
* Betweenness
* Closeness
* PageRank
* Motif
* Clustering
* Degree distribution
* Assortativity
* Distance
* Modularity
* Efficiency

Models
|  Topology

* Random graph
* Erdős–Rényi
* Barabási–Albert
* Fitness model
* Watts–Strogatz
* Exponential random (ERGM)
* Random geometric (RGG)
* Hyperbolic (HGN)
* Hierarchical
* Stochastic block
* Maximum entropy
* Soft configuration
* LFR Benchmark

Dynamics

* Boolean network
* agent based
* Epidemic/SIR

* Lists
* Categories

* Topics
* Software
* Network scientists

* Category:Network theory
* Category:Graph theory

* v
* t
* e

NetworkX is a Python library for studying graphs and networks. NetworkX is free software released under the BSD-new license.

## Contents

* 1 History
* 2 Features
* 3 Supported graph types
* 3.1 Overview
* 3.2 Directed graphs (DiGraph)
* 3.3 Undirected graphs (Graph)
* 3.4 MultiGraphs
* 3.5 MultiDiGraphs
* 3.6 Challenges in visualization
* 4 Graph layouts
* 4.1 Spring layout
* 4.2 Spectral layout
* 4.2.1 How the spectral layout work
* 4.2.2 Why it reveals the network's structure
* 4.2.3 Codes for implementing the plot
* 4.3 Circular layout
* 4.4 Shell layout
* 4.4.1 Sample code
* 4.5 Kamada–Kawai layout
* 4.6 Random Layout
* 4.7 Planar Layout
* 4.8 Fruchterman–Reingold Layout
* 4.9 Spiral Layout
* 4.10 Bipartite Layout
* 4.11 Multipartite Layout
* 4.12 BFS Layout
* 4.13 Usage
* 5 Suitability
* 6 Applications
* 7 Comparison with Matlab
* 7.1 Dealing with large data
* 7.2 Cost
* 8 Getting access to Networkx through Matlab
* 9 Applications to pure mathematics
* 9.1 Graph a subgroups lattice of a group
* 9.2 Graph ordered relations
* 9.3 Graph equivalence relations
* 10 Integration
* 11 See also
* 12 References
* 13 External links

## History

NetworkX began development in 2002 by Aric A. Hagberg, Daniel A. Schult, and Pieter J. Swart.[3] It is supported by the National Nuclear Security Administration of the U.S. Department of Energy at Los Alamos National Laboratory.

The package was crafted with the aim of creating tools to analyze data and intervention strategies for controlling the epidemic spread of disease, while also exploring the structure and dynamics of more general social, biological, and infrastructural systems.[3]

Inspired by Guido van Rossum's 1998 essay on Python graph representation,[4] NetworkX made its public debut at the 2004 SciPy annual conference. In April 2005, NetworkX was made available as open source software.[1]

Several Python packages focusing on graph theory, including igraph, graph-tool, and numerous others, are available. As of April 2024, NetworkX had over 50 million downloads,[5] surpassing the download count of the second most popular package, igraph, by more than 50-fold.[6] This substantial adoption rate could potentially be attributed to NetworkX's early release and its continued evolution within the SciPy ecosystem.

In 2008, SageMath, an open source mathematics system, incorporated NetworkX into its package and added support for more graphing algorithms and functions.[3]

Major NetworkX Releases  Version  | Release date  | Major Changes

|
|

0.22  | 17 June 2005 | Topological sorting for testing directed acyclic graphs (DAGs).

Integration of Dijkstra's algorithm for finding shortest paths in weighted graphs.[7]

0.99  | 18 November 2008 | Default graph type transitioned to a weighted graph.

MultiGraph, MultiDiGraph, LabeledGraph, and LabeledDiGraph introduced.[7]

1.0  | 8 January 2010 | Addition of difference and intersection operators.

Implementation of the A* algorithm for optimized pathfinding.

Incorporation of PageRank, HITS, and [eigenvector] centrality algorithms for network analysis.

Integration of Kruskal's algorithm for constructing minimum spanning trees.[7]

2.0  | 20 September 2017 | Significant revisions to the methods within the MultiGraph and DiGraph classes.

Overhaul of documentation system. Various user quality of life changes.[7]

3.0  | 7 January 2023 | Improved integrations to SciPy ecosystem packages.

Added new plugin feature to allow users to use different backends (GraphBLAS, CuGraph) for computation.[8]

## Features

* Classes for graphs and digraphs.
* Conversion of graphs to and from several formats.
* Ability to construct random graphs or construct them incrementally.
* Ability to find subgraphs, cliques, k-cores.
* Explore adjacency, degree, diameter, radius, center, betweenness, etc.
* Draw networks in 2D and 3D.

## Supported graph types

### Overview

Graphs, in this context, represent collections of vertices (nodes) and edges (connections) between them. NetworkX provides support for several types of graphs, each suited for different applications and scenarios.

### Directed graphs (DiGraph)

Directed graphs, or DiGraphs, consist of nodes connected by directed edges. In a directed graph, edges have a direction indicating the flow or relationship between nodes.[9]

Directed graph made using NetworkX

### Undirected graphs (Graph)

Undirected graphs, simply referred to as graphs in NetworkX, are graphs where edges have no inherent direction. The connections between nodes are symmetrical, meaning if node A is connected to node B, then node B is also connected to node A.[10]

Undirected graph made using NetworkX

### MultiGraphs

MultiGraphs allow multiple edges between the same pair of nodes. In other words, MultiGraphs permit parallel edges, where more than one edge can exist between two nodes.[11]

MultiGraph made using NetworkX

### MultiDiGraphs

MultiDiGraphs are directed graphs that allow multiple directed edges between the same pair of nodes. Similar to MultiGraphs, MultiDiGraphs enable the modeling of scenarios where multiple directed relationships exist between nodes.[12]

Error creating thumbnail: MultiDiGraph made using NetworkX

### Challenges in visualization

While NetworkX provides powerful tools for graph creation and analysis, producing visualizations of complex graphs can be challenging. Visualizing large or densely connected graphs may require specialized techniques and external libraries beyond the capabilities of NetworkX alone.

## Graph layouts

NetworkX provides various layout algorithms for visualizing graphs in two-dimensional space. These layout algorithms determine the positions of nodes and edges in a graph visualization, aiming to reveal its structure and relationships effectively.

### Spring layout

The Spring Layout in NetworkX is a popular way to visualize graphs using a force-directed algorithm. It's based on the Fruchterman-Reingold model, which works like a virtual physics simulation. Each node in your graph is a charged particle that repels other nodes, while the edges act like springs that pull connected nodes closer together. This balance creates a layout where the graph naturally spreads out into an informative shape.

As the algorithm runs, it tries to reduce the overall "energy" of the system by adjusting the positions of the nodes step by step. The result often highlights patterns in the graph—like clusters or groups of nodes that are tightly connected. It works best for small to medium-sized graphs, where clarity and appearance are important.

You can create this layout in NetworkX using the spring_layout() function, found in networkx.drawing.layout. The function gives you a few options to customize the layout, you can control the distance between nodes with the k parameter or decide how many iterations the simulation should run. It lets you lay out the graph in more than two dimensions by setting the dim parameter.

File:Spring Layout.pngNetworkX Spring Layout

G = nx.path_graph(4)
pos = nx.spring_layout(G)
nx.draw(G, pos, with_labels=True)

This layout method is used for interactive and exploratory visualizations. The spring layout often reveals the structure of the graph in a intuitive and readable way[13]

### Spectral layout

The Spectral layout is based on the spectral properties of the graph's adjacency matrix. It uses the eigenvalues and eigenvectors of the adjacency matrix to position nodes in a low-dimensional space. Spectral layout tends to emphasize the global structure of the graph, making it useful for identifying clusters and communities.[14]

#### How the spectral layout work

Source:[15]

* Construct the Laplacian matrix of the graph.

A Laplacian matrix L of a graph is defined as L=D−A, where D is the degree matrix (a diagonal matrix where Dii is the degree of vertex i) and A is the adjacency matrix.

For a graph G with n vertices, the adjacency matrix A is an n × n matrix where Aij=1 if there is an edge between vertex i and vertex i and Aij=0 otherwise.

The Laplacian matrix has eigenvalues and corresponding eigenvectors that encode the graph's structural properties.[16]

* Compute the eigenvectors corresponding to the smallest non-zero eigenvalues.[17]
* Use these eigenvectors as coordinate values for positioning vertices.[18]
* X-coordinates come from the second eigenvector (associated with the second-smallest eigenvalue), and Y-coordinates come from the third eigenvector.[18]
* Scale and center the resulting layout as needed.

#### Why it reveals the network's structure

* Nodes in dense clusters have similar eigenvector entries, causing them to group spatially.[19]
* The Fiedler vector (second eigenvector) minimizes the ratio cut, separating the graph into clusters with minimal interconnections.[20]

Comparison of the spectral layout and spring layout on the karate club graph.

In the plot above, we observe that the spectral layout helps capture the global and communal structures embedded in the graph. Comparing both layouts, we see that the spectral layout keeps nodes belonging to the same community closely packed, thereby capturing communities more easily as compared to the spring layout.[21]

#### Codes for implementing the plot

import numpy as np
import matplotlib.pyplot as plt
import networkx as nx

# Generate a graph with overlapping nodes in spectral layout
G = nx.karate_club_graph()
L = nx.laplacian_matrix(G).todense()

# Compute eigenvectors of L for spectral layout
eigenvals, eigenvecs = np.linalg.eigh(L)
fiedler_vector = eigenvecs[:, 1]  # Second smallest eigenvector
eigenvec2 = eigenvecs[:, 2]  # Third smallest eigenvector

# Create spectral layout (2D: use Fiedler vector for x-coord, zeros for y-coord)
pos_spectral = {node: (fiedler_vector[i]+ np.random.normal(0, 0.01),
eigenvec2[i]+ np.random.normal(0, 0.1)) for i,
node in enumerate(G.nodes())}

# Define layouts to compare
layouts = {
"Spring Layout": nx.spring_layout(G, seed=42),
"Spectral Layout": pos_spectral

# Plot all layouts
plt.figure(figsize=(15, 8))
for i, (title, pos) in enumerate(layouts.items(), 1):
plt.subplot(1, 2, i)
nx.draw(G, pos, with_labels=True, node_color='skyblue', node_size=800, font_size=10)
plt.title(title)
plt.tight_layout()
plt.savefig('Spec_layout.png')
plt.show()

### Circular layout

Circular layout of demo graph**Circular layout** of the demo graph, with nodes evenly spaced around a circle.

The Circular layout arranges nodes evenly around a circle, with edges drawn as straight lines connecting them. This layout is particularly suitable for visualizing cyclic or symmetric graphs, where the arrangement of nodes along the circle reflects the underlying topology of the graph.[22]

### Shell layout

File:Shell layout figure.pngShell layout figure using Networkx

The Shell layout organizes nodes into concentric circles or shells based on their distance from a specified center. Nodes within the same shell have the same distance from the center, while edges are drawn radially between nodes in adjacent shells. Shell layout is often used for visualizing hierarchical or tree structures.[23]

#### Sample code

# simple shell‐layout example
G = nx.balanced_tree(2, 2)
shells = 0], [1, 2], [3, 4, 5, 6
pos = nx.shell_layout(G, nlist=shells)
nx.draw(G, pos, with_labels=True)

### Kamada–Kawai layout

Kamada–Kawai layout of demo graph**Kamada–Kawai layout** of the demo graph, showing an energy‐minimization embedding that treats node‐pairs as springs proportional to graph distances.

The Kamada–Kawai layout algorithm positions nodes based on their pairwise distances, aiming to minimize the total energy of the system. It takes into account both the graph's topology and edge lengths, resulting in a layout that emphasizes geometric accuracy and readability.[24]

### Random Layout

Random layout of demo graph**Random layout** of the demo graph, with nodes placed uniformly at random within the unit square as a baseline.

Random layout assigns each node a random position inside the unit square (or specified box). It's trivial and fast—O(n)—but gives no information about graph structure. Use it as a baseline to compare against more meaningful layouts, or when you just need an initial seeding for iterative algorithms. It's also handy for stress-testing your rendering pipeline.

### Planar Layout

Planar layout attempts to compute an embedding for planar graphs (graphs with no edge crossings) using graph combinatorial embedding. If the graph isn't planar, it raises an exception. Planar embeddings exactly preserve the topology of planar networks—useful for circuit schematics, maps, or any truly planar structure. When it works, edges don't cross, giving a clean representation. It's linear‐time but only applicable to planar graphs.

### Fruchterman–Reingold Layout

Although "spring layout" and "Fruchterman–Reingold" are often used interchangeably, NetworkX exposes both via spring_layout and fruchterman_reingold_layout. Internally they share the same physics-based algorithm. You can tweak attraction/repulsion constants, number of iterations, and temperature schedules. It produces an "organic" network view that highlights dense subgraphs. Use it when you want a familiar force-directed aesthetic with customizable parameters.

### Spiral Layout

Spiral layout of demo graph**Spiral layout** of the demo graph, with nodes placed sequentially along an outward spiral to reduce overlap and highlight ordering.

Spiral layout places nodes along an outward spiral, one after another in node order. It's deterministic and extremely fast—useful for very large graphs where more expensive layouts would be too slow. Although it doesn't use graph connectivity, you can impose ordering to reveal sequences or ranking. Because the spiral arms grow apart as they wind out, it can reduce overlap compared to a pure line or circle. It's primarily a novelty, but useful for displaying long chains or temporal orderings.

### Bipartite Layout

Bipartite layout of demo graph**Bipartite layout** of the demo graph, showing two node sets on parallel lines at y=0 and y=1.

Bipartite layout is specialized for two‐set graphs: it places one node set on a horizontal line at y=0 and the other at y=1. You must supply the two partitions (e.g. via a node attribute or explicit list). Edges then connect vertically between layers, making the bipartite structure immediately clear. It's ideal for affiliation networks, two‐mode data, or any graph with exactly two types of nodes. Positioning along the x-axis is usually automatic, but you can override via the align or manual x-coordinates.

### Multipartite Layout

Multipartite layout of demo graph**Multipartite layout** of the demo graph, with nodes arranged in horizontal layers by their `layer` attribute.

Multipartite layout generalizes bipartite: it places nodes in multiple horizontal layers (or "partitions") based on a node attribute (e.g. layer). Each partition is drawn on its own y-coordinate rung, and edges run between adjacent layers by default. This makes it perfect for multilevel DAGs, workflow diagrams, or any graph with more than two strata. You control the vertical spacing and ordering within each layer. It's computed in linear time after grouping nodes by their partition key.

### BFS Layout

BFS layout of demo graphBFS layout of the demo graph

BFS layout (in our demo implemented via shell layout on BFS layers) arranges nodes by their distance from a source node. All nodes at distance d go to shell d. This visually encodes hop count from the root, so you see exactly how far each node lies in the graph. It's perfect for shortest-path or reachability visualizations. Because it uses pure breadth-first search, it's linear (O(n + m)) to compute.

### Usage

NetworkX provides functions for applying different layout algorithms to graphs and visualizing the results using Matplotlib or other plotting libraries. Users can specify the desired layout algorithm when calling the drawing functions, allowing for flexible and customizable graph visualizations.

## Suitability

NetworkX is suitable for operation on large real-world graphs: e.g., graphs in excess of 10 million nodes and 100 million edges.[clarification needed][25] Due to its dependence on a pure-Python "dictionary of dictionary" data structure, NetworkX is a reasonably efficient, very scalable, highly portable framework for network and social network analysis.[3]

## Applications

NetworkX was designed to be easy to use and learn, as well as a powerful and sophisticated tool for network analysis. It is used widely on many levels, ranging from computer science and data analysis education to large-scale scientific studies.[3]

NetworkX has applications in any field that studies data as graphs or networks, such as mathematics, physics, biology, computer science and social science.[26] The nodes in a NetworkX graph can be specialized to hold any data, and the data stored in edges is arbitrary, further making it widely applicable to different fields. It is able to read in networks from data and randomly generate networks with specified qualities. This allows it to be used to explore changes across wide amounts of networks.[3] The figure below demonstrates a simple example of the software's ability to create and modify variations across large amounts of networks.

Graph representations of several spanning tree networks in none|frame

NetworkX has many network and graph analysis algorithms, aiding in a wide array of data analysis purposes. One important example of this is its various options for shortest path algorithms. The following algorithms are included in NetworkX, with time complexities given the number of vertices (V) and edges (E) in the graph:[27]

* Dijkstra: O((V+E) log V)
* Bellman-Ford: O(V * E)
* Goldberg-Radzik: O(V * E)
* Johnson: O(V^2 log(V) + VE)
* Floyd Warshall: O(V^3)
* A*: O((V+E) log V)

An example of the use of NetworkX graph algorithms can be seen in a 2018 study, in which it was used to analyze the resilience of livestock production networks to the spread of epidemics. The study used a computer model to predict and study trends in epidemics throughout American hog production networks, taking into account all livestock industry roles. In the study, NetworkX was used to find information on degree, shortest paths, clustering, and k-cores as the model introduced infections and simulated their spread. This was then used to determine which networks are most susceptible to epidemics.[28]

In addition to network creation and analysis, NetworkX also has many visualization capabilities. It provides hooks into Matplotlib and GraphViz for 2D visuals, and VTK and UbiGraph for 3D visuals.[3] This makes the package useful in easily demonstrating and reporting network analysis and data, and allows for the simplification of networks for visual processing.

## Comparison with Matlab

MATLAB allows the user to graph networks. Matlab is widely used to graph networks by mathematicians, physicists, biologists, and computer scientists. Matlab graphs can be more useful than Python-Networkx graphs under many circumstances.

File:Matlab network.jpgA Matlab network File:Networkx network.jpgA networkx network

### Dealing with large data

The main issue with Networkx is memory usage when dealing with large graphs. Networkx stores graph data in Python objects which makes it incapable of handling tens of millions of objects without consuming the computer memory. This causes an out-of-memory errors when working with large graphs.[29] On the other hand, Matlab works differently. Matlab processes large sets of data more efficiently by integrating them with the existing infrastructure. The user can scale up and run their Matlab code interactively using parallel processing as well as in deployed production mode. The user can also run their Matlab code with a large set of data on different cloud data such as Databricks, Domino Data Lab, and Google® BigQuery.[30]

### Cost

Python is an open-source programming language. It can be downloaded and used completely with no charge. Also, Many widely used Python libraries and packages (including NetworkX) are completely free.[31] While, MATLAB has 6 pricing edition(s), from $49 to $2,150.[32] Matlab pricing varies depending on the type of the license. For example, High school and college students can get a Matlab license with a lower cost than individuals and business owners.

## Getting access to Networkx through Matlab

MATLAB provides interoperability with other languages such as Python. Matlab provides access to many programming languages including C/C++, Java, and Python. Networkx can be called from Matlab which gives the user the advantage of using it within Matlab workflow.[33] This allows the user to call Python-Networkx codes in Matlab.

## Applications to pure mathematics

Networks are useful tools to visualize, which helps with analyzing or making good predictions, which helps researchers generalize ideas. It gives the clear picture when dealing with a finite set. It can be used in different fields of mathematics like Set Theory, Abstract Algebra, and Number Theory.

### Graph a subgroups lattice of a group

Lattice of subgroups can be graphed for finite groups with a reasonable order.

File:Lattice networkx.jpgSubgroup Lattice for Z/24Z the cyclic group of order 24

### Graph ordered relations

Ordered relations on finite sets with reasonable size (cardinality) can be graphed.

File:Ordered relation.jpgThe ordered relation a<b if and only a divides b on the set of integers 1-100

### Graph equivalence relations

An Equivalence relation on a finite set with reasonable size can be graphed with Networkx. This is a helpful way to visualize it as it clearly shows the different equivalence classes.

File:Equivalence relation networkx.jpgThe equivalence relation a~b if and only if a-b is divisible by 3 on the set containing the integers 1-100

## Integration

NetworkX is integrated into SageMath.[34]

## See also

* List of open-source mathematical libraries
* Social network analysis software
* JGraph

## References

1. ↑ 1.0 1.1 NetworkX first public release (NX-0.2), From: Aric Hagberg, Date: 12 April 2005, Python-announce-list mailing list
2. ↑ NetworkX initial release, NX-0.2, hagberg – 2005-04-11, Project Info – NetworkX, Registered: 2004-10-21, SourceForge.net
3. ↑ 3.0 3.1 3.2 3.3 3.4 3.5 3.6 Aric A. Hagberg, Daniel A. Schult, Pieter J. Swart, Exploring Network Structure, Dynamics, and Function using NetworkX , Proceedings of the 7th Python in Science conference (SciPy 2008), G. Varoquaux, T. Vaught, J. Millman (Eds.), pp. 11–15.
4. ↑ van Rossum, Guido (February 1998). "Python Patterns - Implementing Graphs". https://www.python.org/doc/essays/graphs/.
5. ↑ "networkx". April 2024. https://pypistats.org/packages/networkx.
6. ↑ "igraph". April 2024. https://pypistats.org/packages/igraph.
7. ↑ 7.0 7.1 7.2 7.3 "Old Release Log". 22 August 2020. https://networkx.org/documentation/stable/release/old_release_log.html.
8. ↑ "NetworkX 3.0". 7 January 2023. https://networkx.org/documentation/stable/release/release_3.0.html.
9. ↑ "DiGraph—Directed graphs with self loops — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/classes/digraph.html.
10. ↑ "Graph—Undirected graphs with self loops — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/classes/graph.html.
11. ↑ "MultiGraph—Undirected graphs with self loops and parallel edges — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/classes/multigraph.html.
12. ↑ "MultiDiGraph—Directed graphs with self loops and parallel edges — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/classes/multidigraph.html.
13. ↑ "spring_layout — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.spring_layout.html.
14. ↑ "spectral_layout — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.spectral_layout.html.
15. ↑ "Spectral Graph Layout Method". https://www.maplesoft.com/support/help/Maple/view.aspx?path=GraphTheory/Layouts/Spectral.
16. ↑ "Spectral Clustering". MIT. https://people.csail.mit.edu/dsontag/courses/ml14/notes/Luxburg07_tutorial_spectral_clustering.pdf.
17. ↑ "A property of eigenvectors of nonnegative symmetric matrices and its application to graph. theory". https://dml.cz/bitstream/handle/10338.dmlcz/101357/CzechMathJ_25-1975-4_12.pdf.
18. ↑ 18.0 18.1 "Graph draw Notes". Pennsylvania State University. https://sites.psu.edu/cmus2013/wp-content/uploads/sites/4312/2013/10/Graph_draw_Notes.pdf.
19. ↑ "Spectral Graph Layout Method". MIT. https://people.csail.mit.edu/dsontag/courses/ml14/notes/Luxburg07_tutorial_spectral_clustering.pdf.
20. ↑ "Spectral methods for graph drawing and synthesis of integrated circuits". https://upcommons.upc.edu/bitstream/handle/2117/352115/159660.pdf;jsessionid=701DD2372B0FA57B94D3DAD08C53F248?sequence=1.
21. ↑ "Graph reduction with spectral and cut guarantees". https://arxiv.org/pdf/1808.10650.pdf.
22. ↑ "circular_layout — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.circular_layout.html.
23. ↑ "shell_layout — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.shell_layout.html.
24. ↑ "kamada_kawai_layout — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/generated/networkx.drawing.layout.kamada_kawai_layout.html.
25. ↑ Aric Hagberg, Drew Conway, "Hacking social networks using the Python programming language (Module II – Why do SNA in NetworkX)", Sunbelt 2010: International Network for Social Network Analysis.
26. ↑ Hadaj, P.; Strzałka, D.; Nowak, M. (19 October 2022). "The use of PLANS and NetworkX in modeling power grid system failures". Sci Rep 12 (1): 17445. doi:10.1038/s41598-022-22268-z. PMID 36261496. PMC 9581963. Bibcode: 2022NatSR..1217445H. https://rdcu.be/dFys2.
27. ↑ "Shortest Paths — NetworkX 3.3 documentation". https://networkx.org/documentation/stable/reference/algorithms/shortest_paths.html#module-networkx.algorithms.shortest_paths.astar.
28. ↑ Wiltshire, Serge W. (March 9, 2018). "Using an agent-based model to evaluate the effect of producer specialization on the epidemiological resilience of livestock production networks". PLOS ONE 13 (3). doi:10.1371/journal.pone.0194013. PMID 29522574. Bibcode: 2018PLoSO..1394013W.
29. ↑ "Frequently asked questions | Memgraph's Guide for NetworkX library". https://memgraph.github.io/networkx-guide/faq/#:~:text=The big issue with NetworkX,C/C++ solutions out there..
30. ↑ "Big Data with MATLAB - MATLAB & Simulink". https://www.mathworks.com/solutions/big-data-matlab.html.
31. ↑ "How Much Does Python Cost?". https://www.nobledesktop.com/learn/python/cost#:~:text=Python is an open-source programming language, which means it's,and libraries at no charge..
32. ↑ "MATLAB Pricing 2025". https://www.trustradius.com/products/matlab/pricing.
33. ↑ "MATLAB Speaks Python » Loren on the Art of MATLAB - MATLAB & Simulink". https://blogs.mathworks.com/loren/2020/03/03/matlab-speaks-python/.
34. ↑ "SageMath Mathematical Software System - Sage". http://sagemath.org/links-components.html.

## External links

* Official website: networkx.github.io
* NetworkX discussion group
* Survey of existing graph theory software
* NetworkX on StackOverflow
* on GitHub

* v
* t
* e

Graph analysis software

Free|

* Cytoscape
* Graphviz
* Gephi
* iGraph
* NetworkX
* Tulip

Proprietary|

* Maple
* Mathematica

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/NetworkX. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:NetworkX&oldid=4296903"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template