@mapequation/infomap 2.3.0 → 2.5.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/CHANGELOG.md CHANGED
@@ -2,6 +2,50 @@
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.5.0](https://github.com/mapequation/infomap/compare/v2.4.1...v2.5.0) (2022-06-07)
6
+
7
+
8
+ ### Features
9
+
10
+ * Output per-module codelength in json ([eae6650](https://github.com/mapequation/infomap/commit/eae6650c48dbf90a938d011f1c736794a786d7ef))
11
+ * Print all trials using --print-all-trials ([e65bea8](https://github.com/mapequation/infomap/commit/e65bea86c21ebcabafb053e79306049e92429ca1)), closes [#298](https://github.com/mapequation/infomap/issues/298)
12
+ * Write node metadata to json ([472b791](https://github.com/mapequation/infomap/commit/472b791742f0f692a0a4b06262b33165245f6f36))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * Constrain numerical arguments to sensible values ([174c99f](https://github.com/mapequation/infomap/commit/174c99fb56c4a50a2e11c37208bcec3e98ba4ab4))
18
+ * Don't allow less than 1 trial ([18e97e2](https://github.com/mapequation/infomap/commit/18e97e21d76e7d27520eb2625c281031d72376d3))
19
+ * Json multilevel modules for higher-order networks ([d020c7c](https://github.com/mapequation/infomap/commit/d020c7c444d1227cb26aa249f7cae5e7de5ecaa4)), closes [#266](https://github.com/mapequation/infomap/issues/266)
20
+ * Only print all trials when running with more than 1 trial ([5f9d8b5](https://github.com/mapequation/infomap/commit/5f9d8b5e56ae348b142404f3f775ad526d396c55))
21
+ * **python:** Fix elapsed running time ([1131e84](https://github.com/mapequation/infomap/commit/1131e845243d3053cceae5bdf069569b2856bc4a))
22
+ * **python:** Replace MersenneTwister implementation with stdlib ([be3effd](https://github.com/mapequation/infomap/commit/be3effd9813a00892437c806b62cb8ee15387d3d))
23
+
24
+ ### [2.4.1](https://github.com/mapequation/infomap/compare/v2.4.0...v2.4.1) (2022-05-27)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * Json output causes segfault ([78e80c5](https://github.com/mapequation/infomap/commit/78e80c581edd92001818abdf50066b798251c604))
30
+
31
+ ## [2.4.0](https://github.com/mapequation/infomap/compare/v2.3.0...v2.4.0) (2022-05-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **js:** React hook ([c19a819](https://github.com/mapequation/infomap/commit/c19a81917849e27298d00bc1b7c6bde2d66f46c5))
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **js-parser:** Parse module level from clu files ([bb91066](https://github.com/mapequation/infomap/commit/bb9106625761716dfabbb240ba39702c110f011a))
42
+ * **js:** Correctly parse clu-files without header ([04c39ea](https://github.com/mapequation/infomap/commit/04c39ea46b716fb10af987a568d5ab226e6ad69d))
43
+ * **python:** Don't allow adding multilayer intra-inter links and ordinary nodes. ([8c3d09c](https://github.com/mapequation/infomap/commit/8c3d09c5c5188c1c94d691beff2c519100b939f9)), closes [#287](https://github.com/mapequation/infomap/issues/287)
44
+ * **python:** Improve constructor and run signatures ([6852e14](https://github.com/mapequation/infomap/commit/6852e142343c91e61a9affe9bcff2897375cf70c)), closes [#286](https://github.com/mapequation/infomap/issues/286)
45
+ * **python:** no_self_links was always set unless include_self_links=True ([9afe5fa](https://github.com/mapequation/infomap/commit/9afe5fa7afbf3f143dd2b8d293be59f572a14c79))
46
+ * **python:** Prevent infinite loop in getMultilevelModules ([1174b66](https://github.com/mapequation/infomap/commit/1174b6658ed5c0bbc2c976223524f5f58e4d6c35)), closes [#284](https://github.com/mapequation/infomap/issues/284)
47
+ * Using deprecated option --include-self-links references missing option --no-loops ([1497bf7](https://github.com/mapequation/infomap/commit/1497bf71fe7a6f5dad725742db8c36a49171eb4d))
48
+
5
49
  ## [2.3.0](https://github.com/mapequation/infomap/compare/v2.2.0...v2.3.0) (2022-04-13)
6
50
 
7
51
 
package/arguments.d.ts CHANGED
@@ -22,6 +22,7 @@ export interface Arguments extends Partial<{
22
22
  cluLevel: number;
23
23
  output: OutputFormats | OutputFormats[];
24
24
  hideBipartiteNodes: boolean;
25
+ printAllTrials: boolean;
25
26
  twoLevel: boolean;
26
27
  flowModel: "undirected" | "directed" | "undirdir" | "outdirdir" | "rawdir";
27
28
  directed: boolean;
package/index.d.ts CHANGED
@@ -38,6 +38,7 @@ export declare type Module = {
38
38
  exitFlow: number;
39
39
  numEdges: number;
40
40
  numChildren: number;
41
+ codelength: number;
41
42
  links?: {
42
43
  source: number;
43
44
  target: number;