

def insert_root_node(self, properties=None):
    '\n        Create root node, then get it.\n\n        :param dict properties: Inheritable key/value pairs\n                                (see :ref:`core-properties`)\n        '
    node_id = core.insert_node(self.cursor, properties).id
    return self.node_factory(self, node_id)

dataset/ETHPy150Open conceptsandtraining/libtree/libtree/transaction.py Transaction.insert_root_node/original