@mapequation/infomap 1.8.0 → 2.0.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/CHANGELOG.md CHANGED
@@ -2,6 +2,61 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.0.2](https://github.com/mapequation/infomap/compare/v2.0.1...v2.0.2) (2022-01-31)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Change json key modularCentrality to mec ([78c7a57](https://github.com/mapequation/infomap/commit/78c7a573914e127bda03a2b8001df321e5bffd04))
11
+ * **js:** Parse directed field in ftree files ([916f54a](https://github.com/mapequation/infomap/commit/916f54a05fb2ffd86ddf0ba297952e85ccfaa5b8))
12
+ * **js:** Pass parseLinks to main parse function and correctly detect multilayer tree files ([0a40ca6](https://github.com/mapequation/infomap/commit/0a40ca6c1606c189f02e691a2fdb74a4494ffbe7))
13
+ * Minify json output ([123c2b1](https://github.com/mapequation/infomap/commit/123c2b10f1e6486135346f8cd546ca0e72fb4d2e)), closes [#260](https://github.com/mapequation/infomap/issues/260)
14
+
15
+ ### [2.0.1](https://github.com/mapequation/infomap/compare/v2.0.0...v2.0.1) (2022-01-26)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * Bug in write state network to json ([50f8de2](https://github.com/mapequation/infomap/commit/50f8de2008cf6422693a74279b347d043735200d)), closes [#262](https://github.com/mapequation/infomap/issues/262)
21
+ * **js:** Broken parser due to duplicate variable name ([f437e13](https://github.com/mapequation/infomap/commit/f437e138f7b24140732831e63fac8c28e44e44bf))
22
+ * Use min mass for dangling nodes when regularized ([f741d07](https://github.com/mapequation/infomap/commit/f741d079b04558102130cbbbd742a0ddc3c1c366))
23
+
24
+ ## [2.0.0](https://github.com/mapequation/infomap/compare/v1.9.0...v2.0.0) (2022-01-13)
25
+
26
+
27
+ ### ⚠ BREAKING CHANGES
28
+
29
+ * Removes --input-format.
30
+ * Removes --include-self-links.
31
+
32
+ ### Features
33
+
34
+ * Entropy bias correction ([#258](https://github.com/mapequation/infomap/issues/258)) ([8ea235c](https://github.com/mapequation/infomap/commit/8ea235cf9159fc1a672a0470798ab7e443590fde))
35
+ * Regularized map equation ([#181](https://github.com/mapequation/infomap/issues/181)) ([0673000](https://github.com/mapequation/infomap/commit/06730005329acb4ba781d647e7009d4ff2510ae7)), closes [#256](https://github.com/mapequation/infomap/issues/256)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * Add new feature flags to python and js api ([48245a7](https://github.com/mapequation/infomap/commit/48245a795f87675b62b94b2f8bd8251b71e5f62e))
41
+ * Include self links by default ([#255](https://github.com/mapequation/infomap/issues/255)) ([1f68940](https://github.com/mapequation/infomap/commit/1f68940a90633405f696efa93471ca8cbb25f14c))
42
+ * **example:** Fix building c++ examples ([0d5c063](https://github.com/mapequation/infomap/commit/0d5c0639cb76b9b275388c1a45873496f675aeea)), closes [#252](https://github.com/mapequation/infomap/issues/252)
43
+
44
+
45
+ * Remove superfluous --input-format flag ([2dd77c4](https://github.com/mapequation/infomap/commit/2dd77c4689c67485454478d739c22c8deb44eda0))
46
+
47
+ ## [1.9.0](https://github.com/mapequation/infomap/compare/v1.8.0...v1.9.0) (2021-11-17)
48
+
49
+
50
+ ### Features
51
+
52
+ * **python:** Add API for intra/inter-layer links ([#245](https://github.com/mapequation/infomap/issues/245)) ([aa31ab2](https://github.com/mapequation/infomap/commit/aa31ab22ff8a706f7b1e5bbf75740d35ef5716bf)), closes [#244](https://github.com/mapequation/infomap/issues/244)
53
+
54
+
55
+ ### Bug Fixes
56
+
57
+ * Incorrect one-level codelength for higher-order input ([5a6d1a1](https://github.com/mapequation/infomap/commit/5a6d1a10657c568f0fddf3afd6729a63e3543081)), closes [#182](https://github.com/mapequation/infomap/issues/182)
58
+ * Write "directed", not "1", in cli output notice ([f0a9dc7](https://github.com/mapequation/infomap/commit/f0a9dc722f8e8d5b4ca7e9e30d201f129d210df4))
59
+
5
60
  ## [1.8.0](https://github.com/mapequation/infomap/compare/v1.7.3...v1.8.0) (2021-11-05)
6
61
 
7
62
 
package/arguments.d.ts CHANGED
@@ -2,11 +2,10 @@ declare type OutputFormats = "clu" | "tree" | "ftree" | "newick" | "json" | "csv
2
2
  export interface Arguments extends Partial<{
3
3
  clusterData: string;
4
4
  noInfomap: boolean;
5
- inputFormat: "pajek" | "link-list" | "bipartite" | "multilayer" | "states";
6
5
  skipAdjustBipartiteFlow: boolean;
7
6
  bipartiteTeleportation: boolean;
8
7
  weightThreshold: number;
9
- includeSelfLinks: boolean;
8
+ noSelfLinks: boolean;
10
9
  nodeLimit: number;
11
10
  assignToNeighbouringModule: boolean;
12
11
  metaData: string;
@@ -28,6 +27,10 @@ export interface Arguments extends Partial<{
28
27
  useNodeWeightsAsFlow: boolean;
29
28
  toNodes: boolean;
30
29
  teleportationProbability: number;
30
+ regularized: boolean;
31
+ regularizationStrength: number;
32
+ entropyCorrected: boolean;
33
+ entropyCorrectionStrength: number;
31
34
  markovTime: number;
32
35
  preferredNumberOfModules: number;
33
36
  multilayerRelaxRate: number;
package/filetypes.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare type MetaClu = CluNode<"meta">[];
15
15
  export declare type TreeNode = {
16
16
  path: number[];
17
17
  modules?: number[];
18
- modularCentrality?: number;
18
+ mec?: number;
19
19
  name?: string;
20
20
  } & NodeBase;
21
21
  export declare type TreeStateNode = TreeNode & StateNodeBase;