@mindfusion/graphs 4.1.1 → 4.2.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/graphs.d.ts CHANGED
@@ -58,6 +58,7 @@ declare module "Graphs/Enum" {
58
58
  export namespace MultipleGraphsPlacement {
59
59
  const Vertical: number;
60
60
  const Horizontal: number;
61
+ const MinimalArea: number;
61
62
  }
62
63
  /**
63
64
  * Specifies general layout orientation.
@@ -835,6 +836,9 @@ declare module "Graphs/PathFinder" {
835
836
  static enumAllCycles(graph: any): any[];
836
837
  static enumAllCyclesDirected(graph: any, callbackEnum: any): void;
837
838
  static deleted(v: any): any;
839
+ static geometricDistance(v1: any, v2: any): number;
840
+ static generateShortestRoute(graph: any, weight: any): Path;
841
+ static findShortestRoute(graph: any): Path;
838
842
  }
839
843
  import Path from "Graphs/Path";
840
844
  }
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.1.1",
7
+ "version": "4.2.0",
8
8
  "description": "Graphs for @mindfusion/diagramming",
9
9
  "keywords": [
10
10
  "graphs library"
@@ -14,28 +14,16 @@
14
14
  "module": "./dist/esm/graphs.js",
15
15
  "exports": {
16
16
  ".": {
17
- "import": {
18
- "types": "./graphs.d.mts",
19
- "default": "./dist/esm/graphs.mjs"
20
- },
21
- "require": {
22
- "types": "./graphs.d.ts",
23
- "default": "./dist/cjs/graphs.js"
24
- },
25
- "node": {
26
- "types": "./graphs.d.mts",
27
- "default": "./dist/esm/graphs.mjs"
28
- },
29
- "default": {
30
- "types": "./graphs.d.ts",
31
- "default": "./dist/cjs/graphs.js"
32
- }
17
+ "types": "./graphs.d.ts",
18
+ "import": "./dist/esm/graphs.mjs",
19
+ "require": "./dist/cjs/graphs.js",
20
+ "default": "./dist/cjs/graphs.js"
33
21
  }
34
- },
22
+ },
35
23
  "license": "SEE LICENSE IN LICENSE.txt",
36
24
  "types": "graphs.d.ts",
37
25
  "dependencies": {
38
- "@mindfusion/collections": "^4.1.0",
39
- "@mindfusion/drawing": "^4.3.0"
26
+ "@mindfusion/collections": "^4.2.0",
27
+ "@mindfusion/drawing": "^4.4.0"
40
28
  }
41
- }
29
+ }