@mapequation/infomap 2.8.0 → 2.9.2
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/arguments.d.ts +1 -1
- package/filetypes.d.ts +11 -11
- package/index.d.ts +3 -3
- package/index.js +1 -1
- package/network.d.ts +3 -3
- package/package.json +12 -10
package/network.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface BipartiteNetwork extends Network {
|
|
|
21
21
|
export interface StateNetwork extends Required<Network> {
|
|
22
22
|
states: StateNode[];
|
|
23
23
|
}
|
|
24
|
-
export
|
|
24
|
+
export type BipartiteStateNetwork = Required<BipartiteNetwork> & StateNetwork;
|
|
25
25
|
export interface MultilayerLink extends Link {
|
|
26
26
|
sourceLayer: number;
|
|
27
27
|
targetLayer: number;
|
|
@@ -32,10 +32,10 @@ export interface IntraLink extends Link {
|
|
|
32
32
|
export interface InterLink extends Omit<MultilayerLink, "source" | "target"> {
|
|
33
33
|
id: number;
|
|
34
34
|
}
|
|
35
|
-
export
|
|
35
|
+
export type MultilayerNetwork = Network<MultilayerLink>;
|
|
36
36
|
export interface MultilayerIntraInterNetwork extends Omit<Network, "links"> {
|
|
37
37
|
intra: IntraLink[];
|
|
38
38
|
inter?: InterLink[];
|
|
39
39
|
}
|
|
40
|
-
export
|
|
40
|
+
export type NetworkTypes = Network | BipartiteNetwork | StateNetwork | BipartiteStateNetwork | MultilayerNetwork | MultilayerIntraInterNetwork;
|
|
41
41
|
export default function toString(network: NetworkTypes): string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapequation/infomap",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"description": "Infomap network clustering algorithm",
|
|
5
5
|
"browser": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"types": "index.d.ts",
|
|
19
|
+
"type": "module",
|
|
19
20
|
"scripts": {
|
|
20
21
|
"watch": "webpack --watch --config interfaces/js/webpack.config.js",
|
|
21
22
|
"build": "webpack --config interfaces/js/webpack.config.js",
|
|
@@ -54,15 +55,17 @@
|
|
|
54
55
|
"homepage": "https://www.mapequation.org/infomap",
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"arraybuffer-loader": "^1.0.8",
|
|
57
|
-
"conventional-commits-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
58
|
+
"conventional-commits-filter": "^5.0.0",
|
|
59
|
+
"conventional-commits-parser": "^6.3.0",
|
|
60
|
+
"conventional-recommended-bump": "^11.2.0",
|
|
61
|
+
"git-raw-commits": "^5.0.1",
|
|
62
|
+
"prettier": "^3.8.1",
|
|
60
63
|
"raw-loader": "^4.0.2",
|
|
61
|
-
"standard-version": "^9.
|
|
62
|
-
"ts-loader": "^9.
|
|
63
|
-
"typescript": "^
|
|
64
|
-
"webpack": "^5.
|
|
65
|
-
"webpack-cli": "^
|
|
64
|
+
"standard-version": "^9.5.0",
|
|
65
|
+
"ts-loader": "^9.5.4",
|
|
66
|
+
"typescript": "^5.9.3",
|
|
67
|
+
"webpack": "^5.105.4",
|
|
68
|
+
"webpack-cli": "^7.0.2"
|
|
66
69
|
},
|
|
67
70
|
"standard-version": {
|
|
68
71
|
"bumpFiles": [
|
|
@@ -85,7 +88,6 @@
|
|
|
85
88
|
"Development Status :: 5 - Production/Stable",
|
|
86
89
|
"Intended Audience :: Science/Research",
|
|
87
90
|
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
88
|
-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
89
91
|
"Programming Language :: Python :: 3"
|
|
90
92
|
]
|
|
91
93
|
}
|