skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
eyadsibai/ltk71 installs

networkx

Use when "NetworkX", "graph analysis", "network analysis", "graph algorithms", "shortest path", "centrality", "PageRank", "community detection", "social network", "knowledge graph"

How do I install this agent skill?

npx skills add https://github.com/eyadsibai/ltk --skill networkx
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill is a purely informational guide providing documentation, best practices, and algorithm descriptions for the NetworkX Python library. It contains no executable code, network operations, or security risks.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

NetworkX Graph Analysis

Python library for creating, analyzing, and visualizing networks and graphs.

When to Use

  • Social network analysis
  • Knowledge graphs and ontologies
  • Shortest path problems
  • Community detection
  • Citation/reference networks
  • Biological networks (protein interactions)

Graph Types

TypeEdgesMultiple Edges
GraphUndirectedNo
DiGraphDirectedNo
MultiGraphUndirectedYes
MultiDiGraphDirectedYes

Key Algorithms

Centrality Measures

MeasureWhat It FindsUse Case
DegreeMost connectionsPopular nodes
BetweennessBridge nodesInformation flow
ClosenessFastest reachEfficient spreaders
PageRankImportanceWeb pages, citations
EigenvectorInfluential connectionsWho knows important people

Path Algorithms

AlgorithmPurpose
Shortest pathMinimum hops
Weighted shortestMinimum cost
All pairs shortestFull distance matrix
DijkstraEfficient weighted paths

Community Detection

MethodApproach
LouvainModularity optimization
Greedy modularityHierarchical merging
Label propagationFast, scalable

Graph Generators

GeneratorModel
Erdős-RényiRandom edges
Barabási-AlbertPreferential attachment (scale-free)
Watts-StrogatzSmall-world
CompleteAll connected

Layout Algorithms

LayoutBest For
SpringGeneral purpose
CircularRegular structure
Kamada-KawaiAesthetics
SpectralClustered graphs

I/O Formats

FormatPreserves AttributesHuman Readable
GraphMLYesYes (XML)
Edge listNoYes
JSONYesYes
PandasYesVia DataFrame

Performance Considerations

ScaleApproach
< 10K nodesAny algorithm
10K - 100KUse approximate algorithms
> 100KConsider graph-tool or igraph

Key concept: NetworkX is pure Python - great for prototyping, may need alternatives for production scale.


Best Practices

  • Set random seeds for reproducibility
  • Choose correct graph type upfront
  • Use pandas integration for data exchange
  • Consider memory for large graphs

Resources

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/eyadsibai/ltk/networkx">View networkx on skillZs</a>