networkx

Create, manipulate, and analyze complex network graphs with standard algorithms.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/nferrer-dev/claude-dotfiles --skill networkx-nferrer-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: networkx
Source: https://github.com/nferrer-dev/claude-dotfiles/tree/main/skills/networkx
Command: npx skills add https://github.com/nferrer-dev/claude-dotfiles --skill networkx-nferrer-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires networkx, matplotlib, pandas, numpy, scipy, and includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of modeling, analyzing, and visualizing relationships between entities in systems like social networks, biological pathways, or transportation grids.

Core Features & Use Cases

  • Graph Analysis: Compute centrality measures, shortest paths, and community detection algorithms.
  • Network Generation: Create synthetic networks such as scale-free or small-world models for simulation.
  • Visualization: Generate publication-quality network diagrams with customizable layouts and node/edge attributes.

Quick Start

Use the networkx skill to create a random graph with 50 nodes and visualize its structure using a spring layout.

Frequently Asked Questions about networkx

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

FAQPage Schema
How do I analyze and visualize complex network structures using Python?

Network analysis of complex structures is handled by creating, manipulating, and visualizing graph data structures. You can compute centrality measures, detect communities, and generate publication-quality diagrams using integrated Python libraries like matplotlib.

What's the best way to compute centrality and shortest paths in a social network graph?

Computing centrality and shortest paths in a social network graph requires standard graph algorithms. This toolkit supports centrality measures, shortest path calculations, and community detection across various domains including social and biological networks.

How do I generate synthetic scale-free or small-world network models for simulation?

Generating synthetic network models for simulation involves creating scale-free or small-world graphs. Network generation capabilities allow you to build these structures to model and analyze complex system behaviors programmatically.

Can I use pandas and numpy data structures for graph input and output operations?

Graph input and output operations support integration with pandas and numpy data structures. Robust graph I/O capabilities enable you to load relationship data from these formats and manipulate the resulting network structures for analysis.

Does this graph analysis toolkit support publication-quality network visualization layouts?

Publication-quality network visualization is supported through integrated matplotlib rendering. You can generate customizable diagrams with various layouts and node or edge attributes to clearly present complex network relationships.