#

Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

#

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 (graph 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

  • G (List of NetworkX Graphs)

  • M (List of Adjacency matrices)

References