fn ids_directions_strategy(
    graph: &PackageGraph,
) -> impl Strategy<Value = Vec<(Vec<&PackageId>, DependencyDirection, DependencyDirection)>> {
    vec(
        (
            vec(graph.prop010_id_strategy(), 32),
            any::<DependencyDirection>(),
            any::<DependencyDirection>(),
        ),
        16,
    )
}
Generate IDs and directions for benchmarks.
internal-tools/benchmarks/benches/package_graph.rs