code: def add_node(self, node):
          
          nodes = self.nodes()
  
          if len(nodes) > 1:
              first_node = min(nodes, key=attrgetter("creation_time"))
              first_node.connect(direction="both", whom=node)
docs: Add a node and connect it to the center.