@@ -82,6 +82,7 @@ public final class RandomGraphGenerator {
8282 private final Optional <NodeLabelProducer > maybeNodeLabelProducer ;
8383 private final List <PropertyProducer <double []>> relationshipPropertyProducers ;
8484 private final Map <NodeLabel , Set <PropertyProducer <?>>> nodePropertyProducers ;
85+ private final Optional <String > idMapBuilderType ;
8586 private final AdjacencyListBehavior .Factory adjacencyCompressorFactory ;
8687 private final boolean forceDag ;
8788 private final HugeLongArray randomDagMapping ;
@@ -98,6 +99,7 @@ public final class RandomGraphGenerator {
9899 Aggregation aggregation ,
99100 Direction direction ,
100101 AllowSelfLoops allowSelfLoops ,
102+ Optional <String > idMapBuilderType ,
101103 AdjacencyListBehavior .Factory adjacencyCompressorFactory ,
102104 boolean forceDag ,
103105 boolean inverseIndex
@@ -112,6 +114,7 @@ public final class RandomGraphGenerator {
112114 this .aggregation = aggregation ;
113115 this .direction = direction ;
114116 this .allowSelfLoops = allowSelfLoops ;
117+ this .idMapBuilderType = idMapBuilderType ;
115118 this .forceDag = forceDag ;
116119 this .random = new Random (seed );
117120 this .propertyValueRandom = new Random (seed );
@@ -155,6 +158,7 @@ public GraphStore generateGraphstore(DatabaseId databaseId, Concurrency concurre
155158 private RandomGraphSpecs generateSpecs () {
156159 var nodesBuilder = GraphFactory .initNodesBuilder ()
157160 .maxOriginalId (nodeCount )
161+ .idMapBuilderType (idMapBuilderType )
158162 .hasLabelInformation (maybeNodeLabelProducer .isPresent ())
159163 .build ();
160164
0 commit comments