@mermanjs/web-render 0.8.0-alpha.6 → 0.8.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.
@@ -111,10 +111,10 @@ Dugong is a modified Rust translation of Dagre's directed graph layout pipeline.
111
111
 
112
112
  Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; the exact upstream Apache-2.0 license file is preserved.
113
113
 
114
- - Version: `3.4.13`
114
+ - Version: `3.4.16`
115
115
  - Source: <https://github.com/cure53/DOMPurify.git>
116
- - Source ref: `3.4.13`
117
- - Source commit: `3067f774676975de12306effd6db6ad7a9a8c17f`
116
+ - Source ref: `3.4.16`
117
+ - Source commit: `b9b9d80f7e401771c2ccaef5f45def7eec8f27d7`
118
118
  - Source path: `.`
119
119
  - Relationship: `generated`, `translated`
120
120
  - License expression: `(Apache-2.0 OR MPL-2.0)`
@@ -124,13 +124,13 @@ Merman selects DOMPurify's Apache-2.0 option for generated sanitizer defaults; t
124
124
 
125
125
  ### Eclipse Layout Kernel (`eclipse-elk`)
126
126
 
127
- The merman-elk-layered crate contains a modified Rust source translation of Eclipse ELK layered algorithms under EPL-2.0.
127
+ The merman-elk-layered crate contains modified Rust source translations of Eclipse ELK layered, Box, Force, Stress, Mr. Tree, Radial, Rectangle Packing, and SPOrE overlap-removal algorithms, including common and core layout utilities, under EPL-2.0.
128
128
 
129
129
  - Version: `0.9.1`
130
130
  - Source: <https://github.com/eclipse-elk/elk.git>
131
131
  - Source ref: `v0.9.1`
132
132
  - Source commit: `62d5909f96fad541bc101ad52dabaece6b7eab7e`
133
- - Source path: `plugins/org.eclipse.elk.alg.layered`
133
+ - Source path: `plugins`
134
134
  - Relationship: `modified`, `translated`
135
135
  - License expression: `EPL-2.0`
136
136
  - Legal files:
@@ -225,10 +225,10 @@ Manatee also follows the newer layout-base behavior selected by the FCoSE depend
225
225
 
226
226
  Merman independently implements Mermaid-compatible behavior while translating selected algorithms, generating defaults, copying architecture icon data, and retaining upstream fixtures and snapshots.
227
227
 
228
- - Version: `11.17.2`
228
+ - Version: `12.1.0`
229
229
  - Source: <https://github.com/mermaid-js/mermaid.git>
230
- - Source ref: `mermaid@11.17.2`
231
- - Source commit: `dcb694ddb58dc5ad3502e7e903cac05fd812eac3`
230
+ - Source ref: `mermaid@12.1.0`
231
+ - Source commit: `21f72f07ea22c0af48a3149c550654e80d8e40cb`
232
232
  - Source path: `packages/mermaid`
233
233
  - Relationship: `behavior-reference`, `copied`, `fixtures`, `generated`, `modified`, `translated`
234
234
  - License expression: `MIT`
@@ -3,7 +3,7 @@
3
3
  "package": {
4
4
  "id": "render",
5
5
  "name": "@mermanjs/web-render",
6
- "version": "0.8.0-alpha.6",
6
+ "version": "0.8.0",
7
7
  "visibility": "public"
8
8
  },
9
9
  "artifact_profile": "web-render",
@@ -20,22 +20,22 @@
20
20
  {
21
21
  "path": "artifacts/wasm/merman_wasm.d.ts",
22
22
  "bytes": 5321,
23
- "sha256": "sha256:94d9548b6c4b6d2b77fcde2218de242ccdc742022c8c4ca2735aca6d9ff72c1c"
23
+ "sha256": "sha256:460768bd17a32309c01ee70f7c953b8d59cb243fe03173d26268f6fff64eccbf"
24
24
  },
25
25
  {
26
26
  "path": "artifacts/wasm/merman_wasm.js",
27
- "bytes": 30778,
28
- "sha256": "sha256:41030be74e650232a7041b2a4a576ebba73c029d7b98d95250844783def86c45"
27
+ "bytes": 30931,
28
+ "sha256": "sha256:167ff96fa03e568dc305325ac1b2394b33e84dec4ce9cb0ee3167d280a8e65b9"
29
29
  },
30
30
  {
31
31
  "path": "artifacts/wasm/merman_wasm_bg.wasm",
32
- "bytes": 10420901,
33
- "sha256": "sha256:091ab932263c9715fa0f97a2b73eba9e4c8b857f845417957a9f947ffc47e1ff"
32
+ "bytes": 11191883,
33
+ "sha256": "sha256:e45c6dfe406d19eaae605511ba0a79f6715ad11f21601018b303ffc765c6dcb5"
34
34
  },
35
35
  {
36
36
  "path": "artifacts/wasm/merman_wasm_bg.wasm.d.ts",
37
37
  "bytes": 2671,
38
- "sha256": "sha256:911390fdbef900b0b659679b04768f88b6521397c046f185e0177b0100a40ed4"
38
+ "sha256": "sha256:3307201395cafbeb9b645d0634d4880c30d2aa59e12723e760aca5b98d30de07"
39
39
  },
40
40
  {
41
41
  "path": "dist/generated/binding-contract.js",
@@ -50,7 +50,7 @@
50
50
  {
51
51
  "path": "dist/generated/capability-surface.d.ts",
52
52
  "bytes": 4386,
53
- "sha256": "sha256:5058e31ee7a3853eb2b80eb3027a4d477ea1cf3bedba691a83b996e1224b24ef"
53
+ "sha256": "sha256:0d473d525388ea7f1f423a4f86a2fd13cba0bf7a286f10536c647997138d2f06"
54
54
  },
55
55
  {
56
56
  "path": "dist/generated/capability-surface.d.ts.map",
@@ -60,7 +60,7 @@
60
60
  {
61
61
  "path": "dist/generated/capability-surface.js",
62
62
  "bytes": 4018,
63
- "sha256": "sha256:5eaa3fa5f133b35ed5f7e86725375ee38de6e3e2fb3a71c70ac70b9c4f030003"
63
+ "sha256": "sha256:088200fb1ebcac8baeafa68ad81f35f8a24b0e590740a619f3a0f726e28825a6"
64
64
  },
65
65
  {
66
66
  "path": "dist/generated/capability-surface.js.map",
@@ -69,33 +69,33 @@
69
69
  },
70
70
  {
71
71
  "path": "dist/generated/diagram-catalog.d.ts",
72
- "bytes": 492,
73
- "sha256": "sha256:02f423590bee1455813c7323dae4eb462b20bd91b99879b7cf079a54cd998d59"
72
+ "bytes": 516,
73
+ "sha256": "sha256:7759137968106842a168659baea72a17e5a354defcc83ccf42373ae02b75d926"
74
74
  },
75
75
  {
76
76
  "path": "dist/generated/diagram-catalog.d.ts.map",
77
77
  "bytes": 171,
78
- "sha256": "sha256:8c76f780117fce003564a4c78a6c3d5842b23fa97043e8536c9928527ffb8b53"
78
+ "sha256": "sha256:897a66bf910b24e9cd37966425a653098ede696d8ceef92535cf5639e1ad823b"
79
79
  },
80
80
  {
81
81
  "path": "dist/generated/diagram-catalog.js",
82
- "bytes": 762,
83
- "sha256": "sha256:65d0fd305cf0e593bbed8e944387bcd995f6b2d107bbccb202124694e957356f"
82
+ "bytes": 794,
83
+ "sha256": "sha256:9eea9739bf79d75d4f7659146a0e06c5ac9a79bc66001755ddade819c3dce85b"
84
84
  },
85
85
  {
86
86
  "path": "dist/generated/diagram-catalog.js.map",
87
- "bytes": 553,
88
- "sha256": "sha256:2aeb3ec6f0afa7e50fa57b9c84582af5ba952d247e69ef68133c6cf36c01cdab"
87
+ "bytes": 573,
88
+ "sha256": "sha256:8b1fffdd0cf7dd99ab12910f2a811a2e54f00f6463d7bec003e16c3b405e7ac2"
89
89
  },
90
90
  {
91
91
  "path": "dist/generated/editor-rename-policy.d.ts",
92
- "bytes": 430,
93
- "sha256": "sha256:383186390bb74771db351d5ff5b5f471abb001c3ab4e2cab4941ba2c2d0f7505"
92
+ "bytes": 473,
93
+ "sha256": "sha256:85e7f49e26e180a006e0f5efbaaaabf83e42f0457f8694540b7e54e019728f09"
94
94
  },
95
95
  {
96
96
  "path": "dist/generated/editor-rename-policy.d.ts.map",
97
97
  "bytes": 250,
98
- "sha256": "sha256:2bc0426428c06f64e1e39b25a01beac83c5df003af1c995caa15689e7f099bba"
98
+ "sha256": "sha256:78b3eab806a143d525b1ffb8118890221614028190ca5b74bb8d3fc681fd4692"
99
99
  },
100
100
  {
101
101
  "path": "dist/generated/resource-contract.d.ts",
@@ -109,13 +109,13 @@
109
109
  },
110
110
  {
111
111
  "path": "dist/generated/resource-contract.js",
112
- "bytes": 10877,
113
- "sha256": "sha256:7b5d820e7ccff630dec334a975f53d2e95de8006271d4d010d8d659882cd9135"
112
+ "bytes": 10880,
113
+ "sha256": "sha256:27a8534caa2446ff3ea51d247897e568e0a67ea7e4f8813088428e1956e3e1ab"
114
114
  },
115
115
  {
116
116
  "path": "dist/generated/resource-contract.js.map",
117
117
  "bytes": 8980,
118
- "sha256": "sha256:18872d00dd23a19992e8dd414c43211bf1a3704e6599afdddbb733db3b98eb9e"
118
+ "sha256": "sha256:89d1dda74b2e2d88db07a1c2ed0505f4b425c553bf65981277a08ce891d0ca97"
119
119
  },
120
120
  {
121
121
  "path": "dist/generated/text-measurement-abi.d.ts",
@@ -169,33 +169,33 @@
169
169
  },
170
170
  {
171
171
  "path": "dist/public-catalog.d.ts",
172
- "bytes": 8004,
173
- "sha256": "sha256:a30aa4f45b6455c48227949ffcc74085aeab09268a2234da42c400264c178989"
172
+ "bytes": 8037,
173
+ "sha256": "sha256:cb432346d286d6a80f92892b4c211352a3c34428721a87c30691ca677ce865ae"
174
174
  },
175
175
  {
176
176
  "path": "dist/public-catalog.d.ts.map",
177
- "bytes": 5964,
178
- "sha256": "sha256:e0c3ab5ac7fe472e651c2d529557e37f4e69df2665cadd42ea1102578fac120f"
177
+ "bytes": 5975,
178
+ "sha256": "sha256:cdc562ffa135923c4dbb8c3c5e7944d03df379e2c7ddeec84e927daffc9a9e33"
179
179
  },
180
180
  {
181
181
  "path": "dist/public-catalog.js",
182
- "bytes": 8802,
183
- "sha256": "sha256:38fc4d83718f160483be6afeaaaab7ab6394bcb431c2ee88228d4eafdc3a5403"
182
+ "bytes": 8834,
183
+ "sha256": "sha256:1ff5cd032b3cb4f55b704a9d69e23a3d230a134478c5fcd3e206f59a42ed0473"
184
184
  },
185
185
  {
186
186
  "path": "dist/public-catalog.js.map",
187
- "bytes": 6969,
188
- "sha256": "sha256:a874521b275dda8d8f31aa655b8ca7006467afc9ac4a73f8dc98a9ea48dd594b"
187
+ "bytes": 6989,
188
+ "sha256": "sha256:8663e827eebeb3e3257195525b113edf259a39627428433a97e139accb1ba552"
189
189
  },
190
190
  {
191
191
  "path": "dist/public-types.d.ts",
192
- "bytes": 27551,
193
- "sha256": "sha256:59f21c27e382e55017a0963eabd6082c8d19c8e530b2ea061f2cd2b0b6e2d815"
192
+ "bytes": 27677,
193
+ "sha256": "sha256:9c64e2c2516710a2a1269f08da35008764d0dc7c1a977fdec28596c7b1eb11ff"
194
194
  },
195
195
  {
196
196
  "path": "dist/public-types.d.ts.map",
197
- "bytes": 24634,
198
- "sha256": "sha256:b462f92453476b79908741afa8cda60a6b86fe1078717e9963a5ff5396d4c382"
197
+ "bytes": 24690,
198
+ "sha256": "sha256:704be2ab8618d1a70fd4e65c1d1bf572de8d0c15caf860d4bcbf91ed5ac49144"
199
199
  },
200
200
  {
201
201
  "path": "dist/runtime-analysis.d.ts",
@@ -229,13 +229,13 @@
229
229
  },
230
230
  {
231
231
  "path": "dist/runtime-core.js",
232
- "bytes": 46266,
233
- "sha256": "sha256:321d8c94542a08732f5517a5025a2ad2add65e2f6a5d91fa09dc8aacb5a09f18"
232
+ "bytes": 46805,
233
+ "sha256": "sha256:fec626bdde1d31da3055da47fdf60d7ac3003121cbbd2c7f528a4a0d8ac69046"
234
234
  },
235
235
  {
236
236
  "path": "dist/runtime-core.js.map",
237
- "bytes": 37575,
238
- "sha256": "sha256:87694db2d199a31bc561699e1fb913075600cbe8da30b94a1e5de7ba65507137"
237
+ "bytes": 38014,
238
+ "sha256": "sha256:9fc36ce8d7ecd16125a957b6c6ef9eff984339d597966e9840a08e7c8ac029d5"
239
239
  },
240
240
  {
241
241
  "path": "dist/runtime-editor.d.ts",
@@ -330,11 +330,11 @@
330
330
  ],
331
331
  "wasm": {
332
332
  "path": "wasm/merman_wasm_bg.wasm",
333
- "input_digest": "4656e1b121e31b789c7a4222819c7320c925aaefbb720b70d86b1eb7f933222d",
334
- "source_digest": "5fc63978e3b9bd0ea80105071ea13766e9b802b55a7a8daf2c846eda01dd1a58",
333
+ "input_digest": "3468763c3fe12c8555a572e3ad9ab5a26fc4a83cc7c3ebd16cb9cbc200ab8b35",
334
+ "source_digest": "58748bc5dee747c42871b6f0349d92d8f1f556b5cd0dbc7256a694e3206c4b0d",
335
335
  "tool_versions": {
336
336
  "cargo": "cargo 1.95.0 (f2d3ce0bd 2026-03-21)",
337
- "node": "v24.20.0",
337
+ "node": "v24.21.0",
338
338
  "rustc": "rustc 1.95.0 (59807616e 2026-04-14)\nbinary: rustc\ncommit-hash: 59807616e1fa2540724bfbac14d7976d7e4a3860\ncommit-date: 2026-04-14\nhost: x86_64-unknown-linux-gnu\nrelease: 1.95.0\nLLVM version: 22.1.2",
339
339
  "wasm_pack": "wasm-pack 0.15.0"
340
340
  }
@@ -57,6 +57,7 @@ export interface InitOutput {
57
57
  readonly analyze: (a: number, b: number, c: number, d: number) => [number, number, number];
58
58
  readonly analyzeDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
59
59
  readonly analyzeDocumentFacts: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
60
+ readonly analyzeJson: (a: number, b: number, c: number, d: number) => [number, number, number];
60
61
  readonly asciiCapabilities: () => [number, number, number];
61
62
  readonly asciiSupportedDiagrams: () => [number, number, number];
62
63
  readonly diagramFamilyCapabilities: () => [number, number, number];
@@ -76,7 +77,6 @@ export interface InitOutput {
76
77
  readonly svgPlanJson: (a: number, b: number, c: number, d: number) => [number, number, number];
77
78
  readonly transportApiVersion: () => number;
78
79
  readonly validate: (a: number, b: number, c: number, d: number) => [number, number, number];
79
- readonly analyzeJson: (a: number, b: number, c: number, d: number) => [number, number, number];
80
80
  readonly __wbindgen_malloc: (a: number, b: number) => number;
81
81
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
82
82
  readonly __wbindgen_exn_store: (a: number) => void;
@@ -413,11 +413,11 @@ export function validate(source, options_json) {
413
413
  function __wbg_get_imports() {
414
414
  const import0 = {
415
415
  __proto__: null,
416
- __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
416
+ __wbg_Error_30c8987f7c2ed4e2: function(arg0, arg1) {
417
417
  const ret = Error(getStringFromWasm0(arg0, arg1));
418
418
  return ret;
419
419
  },
420
- __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
420
+ __wbg_Number_14af1003b8dd5ead: function(arg0) {
421
421
  const ret = Number(arg0);
422
422
  return ret;
423
423
  },
@@ -428,64 +428,64 @@ function __wbg_get_imports() {
428
428
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
429
429
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
430
430
  },
431
- __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
431
+ __wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(arg0, arg1) {
432
432
  const v = arg1;
433
433
  const ret = typeof(v) === 'bigint' ? v : undefined;
434
434
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
435
435
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
436
436
  },
437
- __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
437
+ __wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
438
438
  const v = arg0;
439
439
  const ret = typeof(v) === 'boolean' ? v : undefined;
440
440
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
441
441
  },
442
- __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
442
+ __wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
443
443
  const ret = debugString(arg1);
444
444
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
445
445
  const len1 = WASM_VECTOR_LEN;
446
446
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
447
447
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
448
448
  },
449
- __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
449
+ __wbg___wbindgen_in_92f62ee1427d9e49: function(arg0, arg1) {
450
450
  const ret = arg0 in arg1;
451
451
  return ret;
452
452
  },
453
- __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
453
+ __wbg___wbindgen_is_bigint_b123553bed3bb382: function(arg0) {
454
454
  const ret = typeof(arg0) === 'bigint';
455
455
  return ret;
456
456
  },
457
- __wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
457
+ __wbg___wbindgen_is_null_e343b7d08827ba72: function(arg0) {
458
458
  const ret = arg0 === null;
459
459
  return ret;
460
460
  },
461
- __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
461
+ __wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
462
462
  const val = arg0;
463
463
  const ret = typeof(val) === 'object' && val !== null;
464
464
  return ret;
465
465
  },
466
- __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
466
+ __wbg___wbindgen_is_string_90b56bc79aad6f6c: function(arg0) {
467
467
  const ret = typeof(arg0) === 'string';
468
468
  return ret;
469
469
  },
470
- __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
470
+ __wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
471
471
  const ret = arg0 === undefined;
472
472
  return ret;
473
473
  },
474
- __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
474
+ __wbg___wbindgen_jsval_eq_02babf21faa37971: function(arg0, arg1) {
475
475
  const ret = arg0 === arg1;
476
476
  return ret;
477
477
  },
478
- __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
478
+ __wbg___wbindgen_jsval_loose_eq_677f21e468d6b461: function(arg0, arg1) {
479
479
  const ret = arg0 == arg1;
480
480
  return ret;
481
481
  },
482
- __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
482
+ __wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
483
483
  const obj = arg1;
484
484
  const ret = typeof(obj) === 'number' ? obj : undefined;
485
485
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
486
486
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
487
487
  },
488
- __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
488
+ __wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
489
489
  const obj = arg1;
490
490
  const ret = typeof(obj) === 'string' ? obj : undefined;
491
491
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -493,14 +493,14 @@ function __wbg_get_imports() {
493
493
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
494
494
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
495
495
  },
496
- __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
496
+ __wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
497
497
  throw new Error(getStringFromWasm0(arg0, arg1));
498
498
  },
499
- __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
499
+ __wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
500
500
  const ret = arg0.call(arg1, arg2);
501
501
  return ret;
502
502
  }, arguments); },
503
- __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
503
+ __wbg_error_757e9472f8410341: function(arg0, arg1) {
504
504
  let deferred0_0;
505
505
  let deferred0_1;
506
506
  try {
@@ -511,7 +511,7 @@ function __wbg_get_imports() {
511
511
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
512
512
  }
513
513
  },
514
- __wbg_get_78f252d074a84d0b: function() { return handleError(function (arg0, arg1) {
514
+ __wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
515
515
  const ret = Reflect.get(arg0, arg1);
516
516
  return ret;
517
517
  }, arguments); },
@@ -519,7 +519,7 @@ function __wbg_get_imports() {
519
519
  const ret = arg0[arg1];
520
520
  return ret;
521
521
  },
522
- __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
522
+ __wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function(arg0) {
523
523
  let result;
524
524
  try {
525
525
  result = arg0 instanceof ArrayBuffer;
@@ -529,7 +529,7 @@ function __wbg_get_imports() {
529
529
  const ret = result;
530
530
  return ret;
531
531
  },
532
- __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
532
+ __wbg_instanceof_Uint8Array_828cef2aaacafc31: function(arg0) {
533
533
  let result;
534
534
  try {
535
535
  result = arg0 instanceof Uint8Array;
@@ -539,32 +539,32 @@ function __wbg_get_imports() {
539
539
  const ret = result;
540
540
  return ret;
541
541
  },
542
- __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
542
+ __wbg_isSafeInteger_717808ad6a54bd9e: function(arg0) {
543
543
  const ret = Number.isSafeInteger(arg0);
544
544
  return ret;
545
545
  },
546
- __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
546
+ __wbg_length_7f3c00c40364105e: function(arg0) {
547
547
  const ret = arg0.length;
548
548
  return ret;
549
549
  },
550
- __wbg_new_227d7c05414eb861: function() {
551
- const ret = new Error();
550
+ __wbg_new_1dbf7428bba60a42: function(arg0) {
551
+ const ret = new Uint8Array(arg0);
552
552
  return ret;
553
553
  },
554
- __wbg_new_32b398fb48b6d94a: function() {
555
- const ret = new Array();
554
+ __wbg_new_227d7c05414eb861: function() {
555
+ const ret = new Error();
556
556
  return ret;
557
557
  },
558
- __wbg_new_7796ffc7ed656783: function() {
558
+ __wbg_new_28744009d011f847: function() {
559
559
  const ret = new Map();
560
560
  return ret;
561
561
  },
562
- __wbg_new_cd45aabdf6073e84: function(arg0) {
563
- const ret = new Uint8Array(arg0);
562
+ __wbg_new_617a8cdb8bb1130e: function() {
563
+ const ret = new Object();
564
564
  return ret;
565
565
  },
566
- __wbg_new_da52cf8fe3429cb2: function() {
567
- const ret = new Object();
566
+ __wbg_new_ee2291f50781bf1d: function() {
567
+ const ret = new Array();
568
568
  return ret;
569
569
  },
570
570
  __wbg_now_e7c6795a7f81e10f: function(arg0) {
@@ -575,17 +575,17 @@ function __wbg_get_imports() {
575
575
  const ret = arg0.performance;
576
576
  return ret;
577
577
  },
578
- __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
578
+ __wbg_prototypesetcall_bc27214492979395: function(arg0, arg1, arg2) {
579
579
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
580
580
  },
581
- __wbg_set_575dd786d51585f8: function(arg0, arg1, arg2) {
581
+ __wbg_set_6ae97e73113c4f0b: function(arg0, arg1, arg2) {
582
582
  const ret = arg0.set(arg1, arg2);
583
583
  return ret;
584
584
  },
585
585
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
586
586
  arg0[arg1] = arg2;
587
587
  },
588
- __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
588
+ __wbg_set_bea140a88be9b277: function(arg0, arg1, arg2) {
589
589
  arg0[arg1 >>> 0] = arg2;
590
590
  },
591
591
  __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
@@ -595,38 +595,38 @@ function __wbg_get_imports() {
595
595
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
596
596
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
597
597
  },
598
- __wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
598
+ __wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
599
599
  const ret = typeof global === 'undefined' ? null : global;
600
600
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
601
601
  },
602
- __wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
602
+ __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
603
603
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
604
604
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
605
605
  },
606
- __wbg_static_accessor_SELF_146583524fe1469b: function() {
606
+ __wbg_static_accessor_SELF_0b583911f537483a: function() {
607
607
  const ret = typeof self === 'undefined' ? null : self;
608
608
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
609
609
  },
610
- __wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
610
+ __wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
611
611
  const ret = typeof window === 'undefined' ? null : window;
612
612
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
613
613
  },
614
- __wbindgen_cast_0000000000000001: function(arg0) {
614
+ __wbindgen_generic_0000000000000001: function(arg0) {
615
615
  // Cast intrinsic for `F64 -> Externref`.
616
616
  const ret = arg0;
617
617
  return ret;
618
618
  },
619
- __wbindgen_cast_0000000000000002: function(arg0) {
619
+ __wbindgen_generic_0000000000000002: function(arg0) {
620
620
  // Cast intrinsic for `I64 -> Externref`.
621
621
  const ret = arg0;
622
622
  return ret;
623
623
  },
624
- __wbindgen_cast_0000000000000003: function(arg0, arg1) {
624
+ __wbindgen_generic_0000000000000003: function(arg0, arg1) {
625
625
  // Cast intrinsic for `Ref(String) -> Externref`.
626
626
  const ret = getStringFromWasm0(arg0, arg1);
627
627
  return ret;
628
628
  },
629
- __wbindgen_cast_0000000000000004: function(arg0) {
629
+ __wbindgen_generic_0000000000000004: function(arg0) {
630
630
  // Cast intrinsic for `U64 -> Externref`.
631
631
  const ret = BigInt.asUintN(64, arg0);
632
632
  return ret;
@@ -841,11 +841,15 @@ function __wbg_finalize_init(instance, module) {
841
841
 
842
842
  async function __wbg_load(module, imports) {
843
843
  if (typeof Response === 'function' && module instanceof Response) {
844
+ if (!module.ok) {
845
+ throw new Error(`failed to fetch Wasm: ${module.status} ${module.statusText} fetching '${module.url}'`);
846
+ }
847
+
844
848
  if (typeof WebAssembly.instantiateStreaming === 'function') {
845
849
  try {
846
850
  return await WebAssembly.instantiateStreaming(module, imports);
847
851
  } catch (e) {
848
- const validResponse = module.ok && expectedResponseType(module.type);
852
+ const validResponse = expectedResponseType(module.type);
849
853
 
850
854
  if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
851
855
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
Binary file
@@ -5,6 +5,7 @@ export const analysisFacts: (a: number, b: number, c: number, d: number) => [num
5
5
  export const analyze: (a: number, b: number, c: number, d: number) => [number, number, number];
6
6
  export const analyzeDocument: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
7
7
  export const analyzeDocumentFacts: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
8
+ export const analyzeJson: (a: number, b: number, c: number, d: number) => [number, number, number];
8
9
  export const asciiCapabilities: () => [number, number, number];
9
10
  export const asciiSupportedDiagrams: () => [number, number, number];
10
11
  export const diagramFamilyCapabilities: () => [number, number, number];
@@ -24,7 +25,6 @@ export const supportedThemes: () => [number, number, number];
24
25
  export const svgPlanJson: (a: number, b: number, c: number, d: number) => [number, number, number];
25
26
  export const transportApiVersion: () => number;
26
27
  export const validate: (a: number, b: number, c: number, d: number) => [number, number, number];
27
- export const analyzeJson: (a: number, b: number, c: number, d: number) => [number, number, number];
28
28
  export const __wbindgen_malloc: (a: number, b: number) => number;
29
29
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
30
30
  export const __wbindgen_exn_store: (a: number) => void;
@@ -1,5 +1,5 @@
1
1
  export declare const CAPABILITY_DESCRIPTOR_SCHEMA_VERSION: 1;
2
- export declare const CAPABILITY_DESCRIPTOR_DIGEST: "sha256:e3dfc678c1ccd830bb4e2a10b24b0e5957c6cb6112c9e1c9f75d847317ba31d7";
2
+ export declare const CAPABILITY_DESCRIPTOR_DIGEST: "sha256:f36a4518be6e5ad041629d3e5b117f2931703ac29b50c5de1e12c066620586ed";
3
3
  export declare const WEB_CAPABILITIES: readonly [{
4
4
  readonly id: "analysis";
5
5
  readonly kind: "api";
@@ -1,7 +1,7 @@
1
1
  // @generated by `cargo run -p xtask -- gen-capability-surface`.
2
2
  // Source: capabilities/feature-surface-v1.json. Do not edit directly.
3
3
  export const CAPABILITY_DESCRIPTOR_SCHEMA_VERSION = 1;
4
- export const CAPABILITY_DESCRIPTOR_DIGEST = "sha256:e3dfc678c1ccd830bb4e2a10b24b0e5957c6cb6112c9e1c9f75d847317ba31d7";
4
+ export const CAPABILITY_DESCRIPTOR_DIGEST = "sha256:f36a4518be6e5ad041629d3e5b117f2931703ac29b50c5de1e12c066620586ed";
5
5
  export const WEB_CAPABILITIES = [
6
6
  {
7
7
  "id": "analysis",
@@ -1,2 +1,2 @@
1
- export declare const SUPPORTED_DIAGRAMS: readonly ["architecture", "block", "c4", "class", "cynefin", "er", "eventmodeling", "flowchart", "gantt", "gitgraph", "info", "ishikawa", "journey", "kanban", "mindmap", "packet", "pie", "quadrantchart", "radar", "railroad", "railroadAbnf", "railroadEbnf", "railroadPeg", "requirement", "sankey", "sequence", "state", "swimlane", "timeline", "treeView", "treemap", "venn", "wardley", "xychart", "zenuml"];
1
+ export declare const SUPPORTED_DIAGRAMS: readonly ["architecture", "block", "c4", "class", "cynefin", "er", "eventmodeling", "flowchart", "gantt", "gitgraph", "info", "ishikawa", "journey", "kanban", "mindmap", "packet", "pie", "quadrantchart", "radar", "railroad", "railroadAbnf", "railroadEbnf", "railroadPeg", "requirement", "sankey", "sequence", "state", "swimlane", "timeline", "treeView", "treemap", "venn", "wardley", "xychart", "zenuml", "agentflow", "usecase"];
2
2
  //# sourceMappingURL=diagram-catalog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"diagram-catalog.d.ts","sourceRoot":"","sources":["../../src/generated/diagram-catalog.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,sZAoCrB,CAAC"}
1
+ {"version":3,"file":"diagram-catalog.d.ts","sourceRoot":"","sources":["../../src/generated/diagram-catalog.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,8aAsCrB,CAAC"}
@@ -36,5 +36,7 @@ export const SUPPORTED_DIAGRAMS = [
36
36
  "wardley",
37
37
  "xychart",
38
38
  "zenuml",
39
+ "agentflow",
40
+ "usecase",
39
41
  ];
40
42
  //# sourceMappingURL=diagram-catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"diagram-catalog.js","sourceRoot":"","sources":["../../src/generated/diagram-catalog.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,iEAAiE;AAEjE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,cAAc;IACd,OAAO;IACP,IAAI;IACJ,OAAO;IACP,SAAS;IACT,IAAI;IACJ,eAAe;IACf,WAAW;IACX,OAAO;IACP,UAAU;IACV,MAAM;IACN,UAAU;IACV,SAAS;IACT,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,KAAK;IACL,eAAe;IACf,OAAO;IACP,UAAU;IACV,cAAc;IACd,cAAc;IACd,aAAa;IACb,aAAa;IACb,QAAQ;IACR,UAAU;IACV,OAAO;IACP,UAAU;IACV,UAAU;IACV,UAAU;IACV,SAAS;IACT,MAAM;IACN,SAAS;IACT,SAAS;IACT,QAAQ;CACA,CAAC"}
1
+ {"version":3,"file":"diagram-catalog.js","sourceRoot":"","sources":["../../src/generated/diagram-catalog.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,iEAAiE;AAEjE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,cAAc;IACd,OAAO;IACP,IAAI;IACJ,OAAO;IACP,SAAS;IACT,IAAI;IACJ,eAAe;IACf,WAAW;IACX,OAAO;IACP,UAAU;IACV,MAAM;IACN,UAAU;IACV,SAAS;IACT,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,KAAK;IACL,eAAe;IACf,OAAO;IACP,UAAU;IACV,cAAc;IACd,cAAc;IACd,aAAa;IACb,aAAa;IACb,QAAQ;IACR,UAAU;IACV,OAAO;IACP,UAAU;IACV,UAAU;IACV,UAAU;IACV,SAAS;IACT,MAAM;IACN,SAAS;IACT,SAAS;IACT,QAAQ;IACR,WAAW;IACX,SAAS;CACD,CAAC"}
@@ -1,3 +1,3 @@
1
- export declare const EDITOR_RENAME_POLICIES: readonly ["none", "identifier", "qualified_identifier", "event_modeling_id", "event_modeling_frame_id", "flowchart_node_id", "git_graph_reference", "architecture_identifier", "railroad_ir_rule", "railroad_ebnf_rule", "railroad_peg_rule", "railroad_abnf_rule"];
1
+ export declare const EDITOR_RENAME_POLICIES: readonly ["none", "identifier", "qualified_identifier", "event_modeling_id", "event_modeling_frame_id", "flowchart_node_id", "git_graph_reference", "architecture_identifier", "railroad_ir_rule", "railroad_ebnf_rule", "railroad_peg_rule", "railroad_abnf_rule", "usecase_identifier", "agentflow_node_id"];
2
2
  export type EditorRenamePolicy = (typeof EDITOR_RENAME_POLICIES)[number];
3
3
  //# sourceMappingURL=editor-rename-policy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor-rename-policy.d.ts","sourceRoot":"","sources":["../../src/generated/editor-rename-policy.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,qQAazB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"editor-rename-policy.d.ts","sourceRoot":"","sources":["../../src/generated/editor-rename-policy.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB,gTAezB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -74,7 +74,7 @@ const RESOURCE_PROFILE_LIMITS = {
74
74
  "max_model_items": 32000,
75
75
  "max_model_text_bytes": 2097152,
76
76
  "max_model_nesting_depth": 256,
77
- "max_layout_work_units": 800000,
77
+ "max_layout_work_units": 14100000,
78
78
  "max_svg_bytes": 25165824,
79
79
  "max_svg_elements": 250000,
80
80
  "svg_backend_tree_nodes": 1000000,
@@ -110,7 +110,7 @@ const RESOURCE_PROFILE_LIMITS = {
110
110
  "max_model_items": 200000,
111
111
  "max_model_text_bytes": 16777216,
112
112
  "max_model_nesting_depth": 1024,
113
- "max_layout_work_units": 1000000,
113
+ "max_layout_work_units": 15000000,
114
114
  "max_svg_bytes": 134217728,
115
115
  "max_svg_elements": 1000000,
116
116
  "svg_backend_tree_nodes": 1000000,