def METHOD_NAME(nodes, edges):
    labels = len(nodes)
    node = nodes[randint(0, labels - 1)]
    query = create_node_pattern(node, "$map")
    params = {"map": create_node_map(node, randint(100, 1000))}
    return params, query