(self, node, is_root=False)
Nodes are found after initialization. This is how they are added.
        :param node Node:
        :param is_root bool:
Nodes are found after initialization. This is how they are added.
        :param node Node:
        :param is_root bool:
Nodes are found after initialization . This is how they are added . : param node Node : : param is_root bool :
def add_node(self, node, is_root=False):
        """
        Nodes are found after initialization. This is how they are added.
        :param node Node:
        :param is_root bool:
        """
        self.nodes.append(node)
        if is_root:
            self.root_node = node
def add_node ( self , node , is_root = False ) : self . nodes . append ( node ) if is_root : self . root_node = node