networkx.generators.nonisomorphic_trees.nonisomorphic_trees¶
-
nonisomorphic_trees(order, create='graph')[source]¶ Returns a list of nonisomporphic trees
- Parameters
order (
int) – order of the desired tree(s)create (
graphormatrix (default="Graph)) – If graph is selected a list of trees will be returned, if matrix is selected a list of adjancency matrix will be returned
- Returns
G (
ListofNetworkX Graphs)M (
ListofAdjacency matrices)
References