@html-graph/html-graph 7.6.0 → 7.8.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.
- package/dist/html-graph.d.ts +18 -2
- package/dist/html-graph.js +173 -137
- package/dist/html-graph.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/html-graph.d.ts
CHANGED
|
@@ -43,7 +43,11 @@ declare interface AddPortRequest {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export declare interface AnimatedLayoutAlgorithm {
|
|
46
|
-
|
|
46
|
+
/**
|
|
47
|
+
* TODO: v8
|
|
48
|
+
* make single parameter object
|
|
49
|
+
*/
|
|
50
|
+
calculateNextCoordinates(graph: Graph, dt: number, viewport: Viewport): ReadonlyMap<Identifier, Point>;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
export declare interface AnimatedLayoutConfig {
|
|
@@ -745,7 +749,11 @@ export declare class InteractiveEdgeShape implements StructuredEdgeShape {
|
|
|
745
749
|
}
|
|
746
750
|
|
|
747
751
|
export declare interface LayoutAlgorithm {
|
|
748
|
-
|
|
752
|
+
/**
|
|
753
|
+
* TODO: v8
|
|
754
|
+
* make single parameter object
|
|
755
|
+
*/
|
|
756
|
+
calculateCoordinates(graph: Graph, viewport: Viewport): ReadonlyMap<Identifier, Point>;
|
|
749
757
|
}
|
|
750
758
|
|
|
751
759
|
declare type LayoutAlgorithmConfig = {
|
|
@@ -780,7 +788,15 @@ declare type LayoutAlgorithmConfig = {
|
|
|
780
788
|
};
|
|
781
789
|
|
|
782
790
|
export declare type LayoutApplyOn = {
|
|
791
|
+
/**
|
|
792
|
+
* @deprecated
|
|
793
|
+
* use "topologyChangeMacrotask" instead
|
|
794
|
+
*/
|
|
783
795
|
type: "topologyChangeTimeout";
|
|
796
|
+
} | {
|
|
797
|
+
type: "topologyChangeMacrotask";
|
|
798
|
+
} | {
|
|
799
|
+
type: "topologyChangeMicrotask";
|
|
784
800
|
} | EventSubject<void>;
|
|
785
801
|
|
|
786
802
|
export declare interface LayoutConfig {
|