neat.STree.get_leafs¶ STree.get_leafs(node=None)[source]¶ Get all leaf nodes in the tree. Parameters: node (neat.SNode (optional)) – The starting node. Defaults to the root