NetworkX
Navigation
index
modules
|
next
|
previous
|
NetworkX Home
|
Search
|
Download
|
Developer Site
|
Documentation
»
Reference
»
Graph generators
»
Previous topic
networkx.path_graph
Next topic
networkx.trivial_graph
Quick search
networkx.star_graph
¶
star_graph
(
n
)
¶
Return the Star graph with n+1 nodes:
one center node, connected to n outer nodes.
Node labels are the integers 0 to n.
Navigation
index
modules
|
next
|
previous
|
NetworkX Home
|
Search
|
Download
|
Developer Site
|
Documentation
»
Reference
»
Graph generators
»