fn create_index<N: Idx + Ord>(
    num_nodes: usize,
    sorted_edge_sources: &mut dyn Iterator<Item = N>,
    associated_edge_targets: &mut dyn Iterator<Item = N>,
    edge_targets: &mut Vec<N>,
    node_starts: &mut IndexVec<N, usize>,
)Expand description
Creates/initializes the index for the VecGraph. A helper for VecGraph::new.
- num_nodesis the target number of nodes in the graph
- sorted_edge_sourcesare the edge sources, sorted
- associated_edge_targetsare the edge targets in the same order as sources
- edge_targetsis the vec of targets to be extended
- node_startsis the index to be filled