One-click install
npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill networkx-estrella-231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: networkx
Source: https://github.com/Estrella-231/Mathematical_modeling_tongmeng/tree/main/.agents/skills/networkx
Command: npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill networkx-estrella-231

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

NetworkX helps you build, analyze, and visualize complex networks (graphs) without writing graph algorithms from scratch, so you can quickly extract insights like paths, centrality, clusters, and communities.

Core Features & Use Cases

  • Graph construction & manipulation: Create directed/undirected and multi-edge graphs with rich node/edge attributes for modeling real systems.
  • Graph analysis: Compute shortest paths, centrality (degree/betweenness/PageRank), clustering, connectivity, community structure, and more.
  • Visualization & export: Generate publication-quality network diagrams and export/import graphs via common formats (GraphML, GML, JSON, edge lists, etc.).

Use cases: model transportation networks for route analysis, analyze relationship networks (social/citation/knowledge graphs), evaluate network importance via centrality, and simulate or validate graph structures with built-in generators.

Quick Start

Use the networkx skill to find the shortest weighted route between two nodes in your graph data.

Frequently Asked Questions about networkx

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

FAQPage Schema
How do I analyze a complex network graph in Python?

You can build directed or undirected graph models with rich attributes and compute network structure insights like paths, centrality, and community clusters without writing algorithms from scratch.

How do I find the shortest weighted route between two nodes in a graph?

Finding the shortest weighted route between two nodes is done by applying built-in shortest path algorithms to your graph model, which calculates the optimal route based on the edge weights you define.

Can I export graph models to formats like GraphML or JSON?

Yes, you can export and import graph models using common formats like GraphML, GML, JSON, and edge lists, allowing you to seamlessly integrate network data into external visualization or processing pipelines.

What is the best way to detect communities in a social network?

Detecting communities in a social network involves applying built-in community detection and clustering algorithms to your relationship graph, which identifies densely connected groups of nodes representing distinct clusters.

Does this graph analysis approach support matplotlib-based visualization?

Yes, this graph analysis approach supports generating publication-quality network diagrams using matplotlib-based visual outputs, allowing you to directly render and inspect your node and edge structures.

Can I use this for transportation routing and route analysis?

Yes, you can model transportation networks for route analysis by representing locations as nodes and routes as edges, then applying shortest path and connectivity algorithms to evaluate network routing efficiency.