networkx.generators.classic.path_graph
networkx.generators.classic.trivial_graph
Enter search terms or a module, class or function name.
Return the Star graph with n+1 nodes: one center node, connected to n outer nodes.
Node labels are the integers 0 to n.