NetworkX
Navigation
index
modules
|
next
|
previous
|
NetworkX Home
|
Search
|
Download
|
Developer Site
|
Documentation
»
Reference
»
Algorithms
»
Traversal
»
Previous topic
networkx.is_connected
Next topic
networkx.connected_components
Quick search
networkx.number_connected_components
¶
number_connected_components
(
G
)
¶
Return the number of connected components in G. For undirected graphs only.
Navigation
index
modules
|
next
|
previous
|
NetworkX Home
|
Search
|
Download
|
Developer Site
|
Documentation
»
Reference
»
Algorithms
»
Traversal
»