@html-graph/html-graph 7.2.0 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,6 +60,12 @@ export declare interface AnimatedLayoutConfig {
60
60
  readonly seed?: string;
61
61
  readonly effectiveDistance?: number;
62
62
  readonly convergenceDelta?: number;
63
+ readonly maxForce?: number;
64
+ readonly nodeForceCoefficient?: number;
65
+ readonly barnesHut?: {
66
+ readonly theta?: number;
67
+ readonly areaRadiusThreshold?: number;
68
+ };
63
69
  } | undefined;
64
70
  }
65
71
 
@@ -739,8 +745,19 @@ declare type LayoutAlgorithmConfig = {
739
745
  readonly nodeMass?: number;
740
746
  readonly edgeEquilibriumLength?: number;
741
747
  readonly edgeStiffness?: number;
748
+ /**
749
+ * @deprecated
750
+ * this parameter results in slow convergence
751
+ * use convergenceDelta instead
752
+ */
742
753
  readonly effectiveDistance?: number;
743
754
  readonly convergenceDelta?: number;
755
+ readonly maxForce?: number;
756
+ readonly nodeForceCoefficient?: number;
757
+ readonly barnesHut?: {
758
+ readonly theta?: number;
759
+ readonly areaRadiusThreshold?: number;
760
+ };
744
761
  };
745
762
 
746
763
  export declare type LayoutApplyOn = {