networkx

Create and analyze graphs with NetworkX in Python.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/ManfronEnrico/thesis-manifold --skill networkx-manfronenrico
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: networkx
Source: https://github.com/ManfronEnrico/thesis-manifold/tree/main/.claude/skills/networkx
Command: npx skills add https://github.com/ManfronEnrico/thesis-manifold --skill networkx-manfronenrico

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

NetworkX provides a Python toolkit for creating, manipulating, and analyzing complex networks and graphs, enabling researchers and engineers to model relationships, compute graph metrics, and visualize structures without reinventing core algorithms.

Core Features & Use Cases

  • Graph creation and manipulation (Graph, DiGraph, MultiGraph) for building flexible network models
  • Graph algorithms (shortest paths, centrality, clustering, community detection) to derive insights from connectivity
  • Graph I/O (GraphML, GML, JSON, CSV, adjacency lists) for interoperable data exchange
  • Visualization integration and publication-ready figures to communicate results
  • Use cases across social networks, biological networks, transportation, citations, and knowledge graphs

Quick Start

Create a small graph with a few nodes and edges, then run a shortest-path or centrality analysis.

Frequently Asked Questions about networkx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute centrality and shortest paths in a Python graph?

Compute centrality and shortest paths by creating a graph object and calling built-in algorithms. The toolkit provides deterministic methods to derive connectivity insights from social, biological, or transportation networks.

Can I import and export graph data from GraphML, GML, and CSV files?

Yes, you can import and export graph data from GraphML, GML, JSON, CSV, and adjacency formats. This interoperable data exchange supports reading and writing complex network structures for analysis.

What Python environments support network visualization and analysis?

Network visualization and analysis require a Python environment with NetworkX installed. The toolkit integrates with Python to create publication-ready figures and compute graph metrics for various network types.

What is the best way to model relationships in a complex network?

Model relationships by creating and manipulating flexible network structures like Graph, DiGraph, or MultiGraph. This approach enables researchers to analyze connectivity without reinventing core graph algorithms.

Does this toolkit support community detection and clustering algorithms?

Yes, the toolkit supports community detection and clustering algorithms. These graph algorithms help derive structural insights from connectivity patterns in citation, knowledge, and social networks.

When should I use Python for graph metrics instead of other visualization tools?

Use Python for graph metrics when you need deterministic algorithms and comprehensive documentation for common graph tasks. It suits researchers modeling complex networks across social, biological, and transportation domains.