Generation parameters.
Optionaldistance?: numberTarget length of every link, which spreads linked nodes further apart as it grows.
Number of nodes to generate when no nodes are given.
OptionalsetProgress?: (params: Omit<ForceGraphLayoutProgress, "percent">) => voidReceives the simulation's cooling progress before each tick.
Generate coordinates for a force-directed graph in three dimensions: of
lengenerated nodes, or of the caller's ownnodesandlinks. A thin form of forceGraphLayout, kept for itsdistanceandsetProgressnames.