def add_node(self): """Add a new node. Return: A new MpaDataNode instance """ new_node = MapDataNode(None, None, None, None, None, False, parent=self) self.nodes.append(new_node.key()) return new_node