networkx.generators.classic.path_graph
networkx.generators.classic.trivial_graph
Enter search terms or a module, class or function name.
Node labels are the integers 0 to n.