def METHOD_NAME(chunk_edges_d: dict, isolated_ids: Sequence[int]):
    """
    in-chunk edges and nodes_ids
    """
    isolated_nodes_self_edges = np.vstack([isolated_ids, isolated_ids]).T
    node_ids = [isolated_ids]
    edge_ids = [isolated_nodes_self_edges]
    for edge_type in EDGE_TYPES:
        edges = chunk_edges_d[edge_type]
        node_ids.append(edges.node_ids1)
        if edge_type == EDGE_TYPES.in_chunk:
            node_ids.append(edges.node_ids2)
            edge_ids.append(edges.get_pairs())
    chunk_node_ids = np.unique(np.concatenate(node_ids))
    edge_ids.append(np.vstack([chunk_node_ids, chunk_node_ids]).T)
    return (chunk_node_ids, np.concatenate(edge_ids))