def get_nodes(node_label):
    """Generate query returning ids of all nodes of the graph.

    Parameters
    ----------
    label
        Label of the nodes to match, default is 'node'
    """
    query = 'MATCH (n:{}) RETURN n.id\n'.format(node_label)
    return query
