networkx.generators.nonisomorphic_trees.nonisomorphic_trees

nonisomorphic_trees(order, create='graph')[source]

Returns a list of nonisomporphic trees

Parameters
orderint

order of the desired tree(s)

creategraph or matrix (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
GList of NetworkX Graphs
MList of Adjacency matrices