Project Homepage
|
Source Code
2.5
Install
Tutorial
Gallery
Reference
Introduction
Graph types
Algorithms
Functions
Graph
Nodes
Edges
Self loops
Attributes
Paths
Freezing graph structure
Graph generators
Linear algebra
Converting to and from other data formats
Relabeling nodes
Reading and writing graphs
Drawing
Randomness
Exceptions
Utilities
Glossary
Developer Guide
Release Log
License
About Us
Citing
Bibliography
NetworkX
»
Reference
»
Functions
»
networkx.classes.function.neighbors
networkx.classes.function.neighbors
¶
neighbors
(
G
,
n
)
[source]
¶
Returns a list of nodes connected to node n.