@mindfusion/graphs 4.2.0 → 4.2.1
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/cjs/graphs.js +1 -1
- package/dist/esm/graphs.js +1 -1
- package/dist/esm/graphs.mjs +1 -1
- package/dist/umd/graphs.js +1 -1
- package/graphs.d.ts +17 -0
- package/package.json +2 -2
package/graphs.d.ts
CHANGED
|
@@ -705,6 +705,23 @@ declare module "Graphs/Graph" {
|
|
|
705
705
|
splitToMaxDegreeV(vertex: any, maxDegree: any, embedding: any): Graph;
|
|
706
706
|
reorderTopologically(): void;
|
|
707
707
|
maxWeightedCliqueOfTransitiveDAG(): any[];
|
|
708
|
+
/**
|
|
709
|
+
* Finds and returns all cut vertices (articulation points) in this graph.
|
|
710
|
+
* @returns {Array} An array of cut vertices.
|
|
711
|
+
*/
|
|
712
|
+
findCutVertices(): any[];
|
|
713
|
+
/**
|
|
714
|
+
* Calculates Fan-In vs Fan-Out bottlenecks and assigns the results to the weight property of each Vertex.
|
|
715
|
+
* Returns an array of vertices sorted descending by their bottleneck intensity.
|
|
716
|
+
* @returns {Array} An array of vertices sorted descending by weight.
|
|
717
|
+
*/
|
|
718
|
+
getFanInFanOutBottlenecks(): any[];
|
|
719
|
+
/**
|
|
720
|
+
* Computes Brandes' Betweenness Centrality for all vertices.
|
|
721
|
+
* Assigns the centrality values to the weight property of each Vertex and returns them sorted descending.
|
|
722
|
+
* @returns {Array} An array of vertices sorted descending by weight.
|
|
723
|
+
*/
|
|
724
|
+
getBetweennessCentrality(): any[];
|
|
708
725
|
}
|
|
709
726
|
import Vertex from "Graphs/Vertex";
|
|
710
727
|
import Edge from "Graphs/Edge";
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"email": "info@mindfusion.eu",
|
|
5
5
|
"url": "https://mindfusion.dev"
|
|
6
6
|
},
|
|
7
|
-
"version": "4.2.
|
|
7
|
+
"version": "4.2.1",
|
|
8
8
|
"description": "Graphs for @mindfusion/diagramming",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"graphs library"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"types": "graphs.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@mindfusion/collections": "^4.2.0",
|
|
27
|
-
"@mindfusion/drawing": "^4.4.
|
|
27
|
+
"@mindfusion/drawing": "^4.4.3"
|
|
28
28
|
}
|
|
29
29
|
}
|