neat.STree.__str__¶ STree.__str__(node=None)[source]¶ Generate a string of the subtree of the given node. Beware, if the given node is not in the tree, it will simply iterate over the subtree of the given node. Parameters: node (neat.SNode (optional)) – The starting node. Defaults to the root