@cardenelabs/cdl 0.53.0 → 0.54.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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CdlDiagram, S as Signal, a as CdlInput, b as CdlLane, c as CdlNode, T as Tone, d as Side, E as EdgeStyle, e as EdgeRole, f as EdgeHead, g as EdgeHeadFill, h as CdlState, i as CdlEventTarget, j as Computed, k as CdlDerivedValue, l as CdlScrollTrigger, L as LaidDiagram, m as CdlDiagramViewProps, n as LaidEdge, o as LaidNode, p as CdlEdge, B as BBox, R as RowMark, N as NodeKind, J as JourneyEmotion, Q as QuadrantKey } from './render-C0PJ2weJ.cjs';
2
- export { q as CdlDiagramView, r as CdlEventBinding, s as CdlEventKind, t as CdlFormula, u as CdlPhase, v as ChartPieForm, w as ChartSlopeForm, x as EDGE_HEADS, y as EDGE_HEAD_DEFAULT, z as EDGE_HEAD_FILLS, A as EDGE_HEAD_FILL_DEFAULT, D as EDGE_REVEALS, F as EDGE_REVEAL_DEFAULT, G as EDGE_STYLES, H as EdgeReveal, I as InteractiveHandlerMap, K as InteractiveSignalsAccessor, M as LaidLane, O as NODE_KINDS, P as RELATION_FOCUSES, U as RELATION_FOCUS_DEFAULT, V as RelationFocus, W as ScrollProgressHandle, X as TONES, Y as computeEventBindingKey, Z as computeFormulaKey, _ as computeInputSignalKey, $ as computeScrollTriggerKey, a0 as computed, a1 as createInteractiveSignalsAccessor, a2 as createScrollProgressHandle, a3 as createScrollProgressSignals, a4 as hasInteractivePrimitives, a5 as sequenceBoardMetrics, a6 as sequenceStepId, a7 as signal } from './render-C0PJ2weJ.cjs';
1
+ import { C as CdlDiagram, S as Signal, a as CdlInput, b as CdlLane, c as CdlNode, T as Tone, d as Side, E as EdgeStyle, e as EdgeRole, f as EdgeHead, g as EdgeHeadFill, h as CdlState, i as CdlEventTarget, j as Computed, k as CdlDerivedValue, l as CdlScrollTrigger, L as LaidDiagram, m as CdlDiagramViewProps, n as LaidEdge, o as LaidNode, p as CdlEdge, B as BBox, R as RowMark, N as NodeKind, J as JourneyEmotion, Q as QuadrantKey } from './render-Cp41meYv.cjs';
2
+ export { q as CdlDiagramView, r as CdlEventBinding, s as CdlEventKind, t as CdlFormula, u as CdlPhase, v as ChartPieForm, w as ChartSlopeForm, x as EDGE_HEADS, y as EDGE_HEAD_DEFAULT, z as EDGE_HEAD_FILLS, A as EDGE_HEAD_FILL_DEFAULT, D as EDGE_REVEALS, F as EDGE_REVEAL_DEFAULT, G as EDGE_STYLES, H as EdgeReveal, I as InteractiveHandlerMap, K as InteractiveSignalsAccessor, M as LaidLane, O as NODE_KINDS, P as RELATION_FOCUSES, U as RELATION_FOCUS_DEFAULT, V as RelationFocus, W as ScrollProgressHandle, X as TONES, Y as computeEventBindingKey, Z as computeFormulaKey, _ as computeInputSignalKey, $ as computeScrollTriggerKey, a0 as computed, a1 as createInteractiveSignalsAccessor, a2 as createScrollProgressHandle, a3 as createScrollProgressSignals, a4 as hasInteractivePrimitives, a5 as sequenceBoardMetrics, a6 as sequenceStepId, a7 as signal } from './render-Cp41meYv.cjs';
3
3
  import { JSX } from 'react';
4
4
 
5
5
  declare function effect(fn: () => void | (() => void)): () => void;
@@ -2932,7 +2932,7 @@ declare function flow(preset: FlowPreset): FlowBuilder;
2932
2932
  * | `return` | 破線 | 開いた矢 | 呼ばれた側から戻る。 新しい仕事ではないので線を切る |
2933
2933
  * | `fire` | 実線 | 開いた矢 | 返事を待たない。 実線だが矢を閉じないことで待たないと示す |
2934
2934
  *
2935
- * 印の形はクラス図の「継ぐ」 と「結ぶ」 で使った形そのもの。 **意味は違う** (あちらは親を
2935
+ * 印の形はクラス図の「継承」 と「関連」 で使った形そのもの。 **意味は違う** (あちらは親を
2936
2936
  * 指す / こちらは返事を待つか) が、形の並びは共有できる。
2937
2937
  */
2938
2938
  type SequenceMessageKind = "call" | "return" | "fire";
@@ -3369,12 +3369,12 @@ type ClassRelationType = "extends" | "implements" | "uses" | "aggregates" | "com
3369
3369
  *
3370
3370
  * | 種類 | 線 | 形 | 塗り | 側 | 意味 |
3371
3371
  * |---|---|---|---|---|---|
3372
- * | `extends` | 実線 | 三角 | 白抜き | 行き先 | 継ぐ |
3373
- * | `implements` | 破線 | 三角 | 白抜き | 行き先 | 満たす |
3374
- * | `aggregates` | 実線 | 菱 | 白抜き | 出どころ | 持つ |
3375
- * | `composes` | 実線 | 菱 | 塗る | 出どころ | 抱える |
3376
- * | `associates` | 実線 | 開いた矢 | — | 行き先 | 結ぶ |
3377
- * | `uses` | 破線 | 開いた矢 | — | 行き先 | 使う |
3372
+ * | `extends` | 実線 | 三角 | 白抜き | 行き先 | 継承 |
3373
+ * | `implements` | 破線 | 三角 | 白抜き | 行き先 | 実装 |
3374
+ * | `aggregates` | 実線 | 菱 | 白抜き | 出どころ | 集約 |
3375
+ * | `composes` | 実線 | 菱 | 塗る | 出どころ | コンポジション |
3376
+ * | `associates` | 実線 | 開いた矢 | — | 行き先 | 関連 |
3377
+ * | `uses` | 破線 | 開いた矢 | — | 行き先 | 依存 |
3378
3378
  *
3379
3379
  * **側が種で割れるのが要点**。 三角は「この先が親」 を指すので行き先に立ち、菱は
3380
3380
  * 「この箱が持っている」 を指すので出どころに立つ。 1 つの決まりで書こうとするとどちらかが
@@ -3895,7 +3895,7 @@ declare function stateMachine2(preset: StateMachine2Preset): StateMachine2Builde
3895
3895
  * 問いにその場で答えられる。
3896
3896
  *
3897
3897
  * 集合は 3 つで作る = 触れた箱 / その箱に繋がる線 / 線の相手の箱。
3898
- * **線の向きは問わない** = クラス図の「継ぐ」 は子から親へ、 ER の「持つ」 は親から子へ向くが、
3898
+ * **線の向きは問わない** = クラス図の「継承」 は子から親へ、 ER の「注文する」 は利用者から注文へ向くが、
3899
3899
  * 読み手にとってはどちらも「この箱の関係」 で、向きで見え方が変わる理由が無い。
3900
3900
  */
3901
3901
  /** 集合を作るのに要る線の情報だけを取る */
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CdlDiagram, S as Signal, a as CdlInput, b as CdlLane, c as CdlNode, T as Tone, d as Side, E as EdgeStyle, e as EdgeRole, f as EdgeHead, g as EdgeHeadFill, h as CdlState, i as CdlEventTarget, j as Computed, k as CdlDerivedValue, l as CdlScrollTrigger, L as LaidDiagram, m as CdlDiagramViewProps, n as LaidEdge, o as LaidNode, p as CdlEdge, B as BBox, R as RowMark, N as NodeKind, J as JourneyEmotion, Q as QuadrantKey } from './render-C0PJ2weJ.js';
2
- export { q as CdlDiagramView, r as CdlEventBinding, s as CdlEventKind, t as CdlFormula, u as CdlPhase, v as ChartPieForm, w as ChartSlopeForm, x as EDGE_HEADS, y as EDGE_HEAD_DEFAULT, z as EDGE_HEAD_FILLS, A as EDGE_HEAD_FILL_DEFAULT, D as EDGE_REVEALS, F as EDGE_REVEAL_DEFAULT, G as EDGE_STYLES, H as EdgeReveal, I as InteractiveHandlerMap, K as InteractiveSignalsAccessor, M as LaidLane, O as NODE_KINDS, P as RELATION_FOCUSES, U as RELATION_FOCUS_DEFAULT, V as RelationFocus, W as ScrollProgressHandle, X as TONES, Y as computeEventBindingKey, Z as computeFormulaKey, _ as computeInputSignalKey, $ as computeScrollTriggerKey, a0 as computed, a1 as createInteractiveSignalsAccessor, a2 as createScrollProgressHandle, a3 as createScrollProgressSignals, a4 as hasInteractivePrimitives, a5 as sequenceBoardMetrics, a6 as sequenceStepId, a7 as signal } from './render-C0PJ2weJ.js';
1
+ import { C as CdlDiagram, S as Signal, a as CdlInput, b as CdlLane, c as CdlNode, T as Tone, d as Side, E as EdgeStyle, e as EdgeRole, f as EdgeHead, g as EdgeHeadFill, h as CdlState, i as CdlEventTarget, j as Computed, k as CdlDerivedValue, l as CdlScrollTrigger, L as LaidDiagram, m as CdlDiagramViewProps, n as LaidEdge, o as LaidNode, p as CdlEdge, B as BBox, R as RowMark, N as NodeKind, J as JourneyEmotion, Q as QuadrantKey } from './render-Cp41meYv.js';
2
+ export { q as CdlDiagramView, r as CdlEventBinding, s as CdlEventKind, t as CdlFormula, u as CdlPhase, v as ChartPieForm, w as ChartSlopeForm, x as EDGE_HEADS, y as EDGE_HEAD_DEFAULT, z as EDGE_HEAD_FILLS, A as EDGE_HEAD_FILL_DEFAULT, D as EDGE_REVEALS, F as EDGE_REVEAL_DEFAULT, G as EDGE_STYLES, H as EdgeReveal, I as InteractiveHandlerMap, K as InteractiveSignalsAccessor, M as LaidLane, O as NODE_KINDS, P as RELATION_FOCUSES, U as RELATION_FOCUS_DEFAULT, V as RelationFocus, W as ScrollProgressHandle, X as TONES, Y as computeEventBindingKey, Z as computeFormulaKey, _ as computeInputSignalKey, $ as computeScrollTriggerKey, a0 as computed, a1 as createInteractiveSignalsAccessor, a2 as createScrollProgressHandle, a3 as createScrollProgressSignals, a4 as hasInteractivePrimitives, a5 as sequenceBoardMetrics, a6 as sequenceStepId, a7 as signal } from './render-Cp41meYv.js';
3
3
  import { JSX } from 'react';
4
4
 
5
5
  declare function effect(fn: () => void | (() => void)): () => void;
@@ -2932,7 +2932,7 @@ declare function flow(preset: FlowPreset): FlowBuilder;
2932
2932
  * | `return` | 破線 | 開いた矢 | 呼ばれた側から戻る。 新しい仕事ではないので線を切る |
2933
2933
  * | `fire` | 実線 | 開いた矢 | 返事を待たない。 実線だが矢を閉じないことで待たないと示す |
2934
2934
  *
2935
- * 印の形はクラス図の「継ぐ」 と「結ぶ」 で使った形そのもの。 **意味は違う** (あちらは親を
2935
+ * 印の形はクラス図の「継承」 と「関連」 で使った形そのもの。 **意味は違う** (あちらは親を
2936
2936
  * 指す / こちらは返事を待つか) が、形の並びは共有できる。
2937
2937
  */
2938
2938
  type SequenceMessageKind = "call" | "return" | "fire";
@@ -3369,12 +3369,12 @@ type ClassRelationType = "extends" | "implements" | "uses" | "aggregates" | "com
3369
3369
  *
3370
3370
  * | 種類 | 線 | 形 | 塗り | 側 | 意味 |
3371
3371
  * |---|---|---|---|---|---|
3372
- * | `extends` | 実線 | 三角 | 白抜き | 行き先 | 継ぐ |
3373
- * | `implements` | 破線 | 三角 | 白抜き | 行き先 | 満たす |
3374
- * | `aggregates` | 実線 | 菱 | 白抜き | 出どころ | 持つ |
3375
- * | `composes` | 実線 | 菱 | 塗る | 出どころ | 抱える |
3376
- * | `associates` | 実線 | 開いた矢 | — | 行き先 | 結ぶ |
3377
- * | `uses` | 破線 | 開いた矢 | — | 行き先 | 使う |
3372
+ * | `extends` | 実線 | 三角 | 白抜き | 行き先 | 継承 |
3373
+ * | `implements` | 破線 | 三角 | 白抜き | 行き先 | 実装 |
3374
+ * | `aggregates` | 実線 | 菱 | 白抜き | 出どころ | 集約 |
3375
+ * | `composes` | 実線 | 菱 | 塗る | 出どころ | コンポジション |
3376
+ * | `associates` | 実線 | 開いた矢 | — | 行き先 | 関連 |
3377
+ * | `uses` | 破線 | 開いた矢 | — | 行き先 | 依存 |
3378
3378
  *
3379
3379
  * **側が種で割れるのが要点**。 三角は「この先が親」 を指すので行き先に立ち、菱は
3380
3380
  * 「この箱が持っている」 を指すので出どころに立つ。 1 つの決まりで書こうとするとどちらかが
@@ -3895,7 +3895,7 @@ declare function stateMachine2(preset: StateMachine2Preset): StateMachine2Builde
3895
3895
  * 問いにその場で答えられる。
3896
3896
  *
3897
3897
  * 集合は 3 つで作る = 触れた箱 / その箱に繋がる線 / 線の相手の箱。
3898
- * **線の向きは問わない** = クラス図の「継ぐ」 は子から親へ、 ER の「持つ」 は親から子へ向くが、
3898
+ * **線の向きは問わない** = クラス図の「継承」 は子から親へ、 ER の「注文する」 は利用者から注文へ向くが、
3899
3899
  * 読み手にとってはどちらも「この箱の関係」 で、向きで見え方が変わる理由が無い。
3900
3900
  */
3901
3901
  /** 集合を作るのに要る線の情報だけを取る */
package/dist/index.js CHANGED
@@ -32167,7 +32167,7 @@ function flow(preset) {
32167
32167
  build() {
32168
32168
  b.phase(
32169
32169
  "flow",
32170
- { duration: 2400, title: preset.topic, body: "\u5168 step \u9806\u6B21\u5B9F\u884C\u3002" },
32170
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u6BB5\u3092\u4E0A\u304B\u3089\u9806\u306B\u901A\u3063\u305F\u6D41\u308C\u3002" },
32171
32171
  (p) => p.activate(...phaseActivate).badge("flow")
32172
32172
  );
32173
32173
  return b.build();
@@ -32225,7 +32225,7 @@ function sequence(preset) {
32225
32225
  });
32226
32226
  b.phase(
32227
32227
  "sequence",
32228
- { duration: 2400, title: preset.topic, body: "sequence \u306E\u5168 message \u3092\u6642\u7CFB\u5217\u5C55\u958B\u3002" },
32228
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u3084\u308A\u53D6\u308A\u3092\u6642\u9593\u306E\u9806\u306B\u4E26\u3079\u305F\u59FF\u3002" },
32229
32229
  (p) => p.activate(preset.id).badge("sequence")
32230
32230
  );
32231
32231
  return b.build();
@@ -32286,7 +32286,7 @@ function topology(preset) {
32286
32286
  build() {
32287
32287
  b.phase(
32288
32288
  "topo",
32289
- { duration: 2400, title: preset.topic, body: "topology \u306E\u5168 container + connection \u3092 visible \u5316\u3002" },
32289
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u69CB\u6210\u8981\u7D20\u3068\u63A5\u7D9A\u3092\u4E26\u3079\u305F\u69CB\u6210\u3002" },
32290
32290
  (p) => p.activate(...phaseActivate).badge("topology")
32291
32291
  );
32292
32292
  return b.build();
@@ -32374,7 +32374,7 @@ function er(preset) {
32374
32374
  build() {
32375
32375
  b.phase(
32376
32376
  "er",
32377
- { duration: 2400, title: preset.topic, body: "ER \u56F3\u306E\u5168 entity + relation \u3092 visible \u5316\u3002" },
32377
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u8868\u3068\u95A2\u4FC2\u3092\u4E26\u3079\u305F\u69CB\u9020\u3002" },
32378
32378
  (p) => p.activate(...phaseActivate).badge("er")
32379
32379
  );
32380
32380
  return b.build();
@@ -32492,7 +32492,7 @@ function stateMachine(preset) {
32492
32492
  });
32493
32493
  b.phase(
32494
32494
  "fsm",
32495
- { duration: 2400, title: preset.topic, body: "FSM \u306E\u5168 state + transition \u3092 visible \u5316\u3002" },
32495
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u72B6\u614B\u3068\u9077\u79FB\u3092\u4E26\u3079\u305F\u59FF\u3002" },
32496
32496
  (p) => p.activate(...phaseActivate).badge("fsm")
32497
32497
  );
32498
32498
  return b.build();
@@ -32547,7 +32547,7 @@ function infrastructure(preset) {
32547
32547
  build() {
32548
32548
  b.phase(
32549
32549
  "infra",
32550
- { duration: 2400, title: preset.topic, body: "infrastructure \u5168 node + connection \u3092 visible \u5316\u3002" },
32550
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u69CB\u6210\u8981\u7D20\u3068\u63A5\u7D9A\u3092\u4E26\u3079\u305F\u69CB\u6210\u3002" },
32551
32551
  (p) => p.activate(...phaseActivate).badge("infrastructure")
32552
32552
  );
32553
32553
  return b.build();
@@ -32664,7 +32664,7 @@ function classDiagram(preset) {
32664
32664
  });
32665
32665
  b.phase(
32666
32666
  "class",
32667
- { duration: 2400, title: preset.topic, body: "UML class \u5168 class + relation \u3092 visible \u5316\u3002" },
32667
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u30AF\u30E9\u30B9\u3068\u95A2\u4FC2\u3092\u4E26\u3079\u305F\u69CB\u9020\u3002" },
32668
32668
  (p) => p.activate(...phaseActivate).badge("class")
32669
32669
  );
32670
32670
  return b.build();
@@ -32702,7 +32702,7 @@ function tree(preset) {
32702
32702
  });
32703
32703
  b.phase(
32704
32704
  "tree",
32705
- { duration: 2400, title: preset.topic, body: "tree \u306E\u5168 node + parent-child edge \u3092 hierarchical layout \u3067\u63CF\u753B\u3002" },
32705
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u9805\u76EE\u3092\u89AA\u5B50\u306E\u968E\u5C64\u3067\u4E26\u3079\u305F\u6728\u3002" },
32706
32706
  (p) => p.activate(nodeId).badge("tree")
32707
32707
  );
32708
32708
  return b.build();
@@ -32741,7 +32741,7 @@ function userJourney(preset) {
32741
32741
  });
32742
32742
  b.phase(
32743
32743
  "journey",
32744
- { duration: 2400, title: preset.topic, body: "userJourney \u5168 step \u3092\u611F\u60C5\u66F2\u7DDA + touchpoint \u3067\u63CF\u753B\u3002" },
32744
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u6BB5\u968E\u3092\u3001\u6C17\u6301\u3061\u306E\u66F2\u7DDA\u3068\u63A5\u70B9\u3067\u4E26\u3079\u305F\u4F53\u9A13\u3002" },
32745
32745
  (p) => p.activate(nodeId).badge("journey")
32746
32746
  );
32747
32747
  return b.build();
@@ -32785,7 +32785,7 @@ function mindMap(preset) {
32785
32785
  });
32786
32786
  b.phase(
32787
32787
  "mindmap",
32788
- { duration: 2400, title: preset.topic, body: "mindMap \u5168 branch \u3092 visible \u5316\u3001 \u4E2D\u5FC3 + \u653E\u5C04\u3067\u63CF\u753B\u3002" },
32788
+ { duration: 2400, title: preset.topic, body: "\u4E2D\u5FC3\u306E\u4E3B\u984C\u304B\u3089\u3001\u3059\u3079\u3066\u306E\u679D\u3092\u653E\u5C04\u72B6\u306B\u5E83\u3052\u305F\u59FF\u3002" },
32789
32789
  (p) => p.activate(nodeId).badge("mindmap")
32790
32790
  );
32791
32791
  return b.build();
@@ -32823,7 +32823,7 @@ function funnel(preset) {
32823
32823
  });
32824
32824
  b.phase(
32825
32825
  "funnel",
32826
- { duration: 2400, title: preset.topic, body: "funnel \u5168 stage \u3092\u9006\u4E09\u89D2\u5F62 + count \u3067\u63CF\u753B\u3002" },
32826
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u6BB5\u968E\u3092\u3001\u4EBA\u6570\u3068\u3068\u3082\u306B\u4E0A\u304B\u3089\u7D5E\u308A\u8FBC\u3093\u3060\u59FF\u3002" },
32827
32827
  (p) => p.activate(nodeId).badge("funnel")
32828
32828
  );
32829
32829
  return b.build();
@@ -32872,7 +32872,7 @@ function quadrant(preset) {
32872
32872
  });
32873
32873
  b.phase(
32874
32874
  "quadrant",
32875
- { duration: 2400, title: preset.topic, body: "quadrant \u5341\u5B57\u8EF8 + 4 \u8C61\u9650 + item \u3092\u63CF\u753B\u3002" },
32875
+ { duration: 2400, title: preset.topic, body: "2 \u672C\u306E\u8EF8\u3067\u5206\u3051\u305F 4 \u3064\u306E\u67A0\u306B\u3001\u3059\u3079\u3066\u306E\u9805\u76EE\u3092\u7F6E\u3044\u305F\u59FF\u3002" },
32876
32876
  (p) => p.activate(nodeId).badge("quadrant")
32877
32877
  );
32878
32878
  return b.build();
@@ -32923,7 +32923,7 @@ function chart(preset) {
32923
32923
  });
32924
32924
  b.phase(
32925
32925
  "chart",
32926
- { duration: 2400, title: preset.topic, body: `${preset.type} chart \u306E\u5168 datum \u3092 visible \u5316\u3002` },
32926
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u5024\u3092\u63CF\u3044\u305F\u30B0\u30E9\u30D5\u3002" },
32927
32927
  (p) => p.activate(nodeId).badge(preset.type)
32928
32928
  );
32929
32929
  return b.build();
@@ -32976,7 +32976,7 @@ function gantt(preset) {
32976
32976
  });
32977
32977
  b.phase(
32978
32978
  "gantt",
32979
- { duration: 2400, title: preset.topic, body: "gantt \u5168 task \u3092 visible \u5316\u3001 \u5E2F\u72B6 timeline + \u4F9D\u5B58 arrow \u3067\u63CF\u753B\u3002" },
32979
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u4F5C\u696D\u3092\u3001\u671F\u9593\u306E\u5E2F\u3068\u524D\u5F8C\u95A2\u4FC2\u306E\u77E2\u5370\u3067\u4E26\u3079\u305F\u5DE5\u7A0B\u3002" },
32980
32980
  (p) => p.activate(nodeId).badge("gantt")
32981
32981
  );
32982
32982
  return b.build();
@@ -32992,11 +32992,11 @@ var SHAPE_KIND = {
32992
32992
  loop: "card"
32993
32993
  };
32994
32994
  var SHAPE_EYEBROW = {
32995
- process: "process",
32996
- decision: "decision",
32997
- start: "start",
32998
- end: "end",
32999
- loop: "loop"
32995
+ process: "\u51E6\u7406",
32996
+ decision: "\u5224\u65AD",
32997
+ start: "\u958B\u59CB",
32998
+ end: "\u7D42\u4E86",
32999
+ loop: "\u7E70\u308A\u8FD4\u3057"
33000
33000
  };
33001
33001
  function flowchart(preset) {
33002
33002
  const laneW = preset.laneWidth ?? 380;
@@ -33044,7 +33044,7 @@ function flowchart(preset) {
33044
33044
  build() {
33045
33045
  b.phase(
33046
33046
  "flowchart",
33047
- { duration: 2400, title: preset.topic, body: "flowchart \u5168 node + edge \u3092 visible \u5316\u3001 swimlane + decision \u3092\u8868\u73FE\u3002" },
33047
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u51E6\u7406\u3068\u5206\u5C90\u3092\u3001\u62C5\u5F53\u3054\u3068\u306E\u30EC\u30FC\u30F3\u306B\u4E26\u3079\u305F\u6D41\u308C\u3002" },
33048
33048
  (p) => p.activate(...phaseActivate).badge("flowchart")
33049
33049
  );
33050
33050
  return b.build();
@@ -33059,6 +33059,13 @@ var NET_KIND_MAP = {
33059
33059
  server: "backend",
33060
33060
  client: "actor"
33061
33061
  };
33062
+ var NET_KIND_LABEL = {
33063
+ router: "\u30EB\u30FC\u30BF\u30FC",
33064
+ switch: "\u30B9\u30A4\u30C3\u30C1",
33065
+ firewall: "\u30D5\u30A1\u30A4\u30A2\u30A6\u30A9\u30FC\u30EB",
33066
+ server: "\u30B5\u30FC\u30D0\u30FC",
33067
+ client: "\u7AEF\u672B"
33068
+ };
33062
33069
  function network(preset) {
33063
33070
  const laneW = preset.laneWidth ?? 320;
33064
33071
  const tone = preset.defaultTone ?? "info";
@@ -33074,7 +33081,7 @@ function network(preset) {
33074
33081
  b.lane(laneId, { width: laneW });
33075
33082
  colLaneIds.set(d.col, laneId);
33076
33083
  }
33077
- const eyebrowParts = [d.kind];
33084
+ const eyebrowParts = [NET_KIND_LABEL[d.kind]];
33078
33085
  if (d.segment) eyebrowParts.push(d.segment);
33079
33086
  b.node(d.id, {
33080
33087
  lane: laneId,
@@ -33100,7 +33107,7 @@ function network(preset) {
33100
33107
  build() {
33101
33108
  b.phase(
33102
33109
  "network",
33103
- { duration: 2400, title: preset.topic, body: "network \u5168 device + link \u3092 visible \u5316\u3002" },
33110
+ { duration: 2400, title: preset.topic, body: "\u3059\u3079\u3066\u306E\u6A5F\u5668\u3068\u63A5\u7D9A\u3092\u4E26\u3079\u305F\u69CB\u6210\u3002" },
33104
33111
  (p) => p.activate(...phaseActivate).badge("network")
33105
33112
  );
33106
33113
  return b.build();
@@ -33116,18 +33123,21 @@ function stateMachine2(preset) {
33116
33123
  const stateOrder = /* @__PURE__ */ new Map();
33117
33124
  const phaseActivate = [];
33118
33125
  let transIdx = 0;
33126
+ const \u984C = /* @__PURE__ */ new Map();
33127
+ const \u89AA = /* @__PURE__ */ new Map();
33119
33128
  const api = {
33120
33129
  state(s) {
33121
33130
  const laneId = `lane-${s.id}`;
33122
33131
  b.lane(laneId, { width: laneW });
33132
+ \u984C.set(s.id, s.title);
33133
+ if (s.parent) \u89AA.set(s.id, s.parent);
33123
33134
  const eyebrowParts = [];
33124
33135
  if (s.initial) eyebrowParts.push("\u521D\u671F");
33125
33136
  else if (s.final) eyebrowParts.push("\u6700\u7D42");
33126
33137
  else eyebrowParts.push("\u72B6\u614B");
33127
- if (s.parent) eyebrowParts.push(`nested in ${s.parent}`);
33128
33138
  const subtitleParts = [];
33129
- if (s.entry) subtitleParts.push(`entry: ${s.entry}`);
33130
- if (s.exit) subtitleParts.push(`exit: ${s.exit}`);
33139
+ if (s.entry) subtitleParts.push(`\u5165\u308B\u6642: ${s.entry}`);
33140
+ if (s.exit) subtitleParts.push(`\u51FA\u308B\u6642: ${s.exit}`);
33131
33141
  b.node(s.id, {
33132
33142
  lane: laneId,
33133
33143
  stack: 0,
@@ -33160,10 +33170,23 @@ function stateMachine2(preset) {
33160
33170
  build() {
33161
33171
  b.phase(
33162
33172
  "sm2",
33163
- { duration: 2400, title: preset.topic, body: "\u62E1\u5F35 FSM (nested + action) \u3092 visible \u5316\u3002" },
33173
+ {
33174
+ duration: 2400,
33175
+ title: preset.topic,
33176
+ body: "\u5165\u308C\u5B50\u306E\u72B6\u614B\u3068\u3001\u5165\u308B\u6642\u30FB\u51FA\u308B\u6642\u306E\u51E6\u7406\u3092\u542B\u3081\u305F\u3001\u3059\u3079\u3066\u306E\u72B6\u614B\u3068\u9077\u79FB\u3002"
33177
+ },
33164
33178
  (p) => p.activate(...phaseActivate).badge("statemachine2")
33165
33179
  );
33166
- return b.build();
33180
+ const d = b.build();
33181
+ return {
33182
+ ...d,
33183
+ nodes: d.nodes.map((n) => {
33184
+ const \u89AA\u306E\u8B58\u5225\u5B50 = \u89AA.get(n.id);
33185
+ if (\u89AA\u306E\u8B58\u5225\u5B50 === void 0) return n;
33186
+ const \u89AA\u306E\u984C = \u984C.get(\u89AA\u306E\u8B58\u5225\u5B50) ?? \u89AA\u306E\u8B58\u5225\u5B50;
33187
+ return { ...n, eyebrow: `${n.eyebrow ?? "\u72B6\u614B"} / ${\u89AA\u306E\u984C}\u306E\u4E2D` };
33188
+ })
33189
+ };
33167
33190
  }
33168
33191
  };
33169
33192
  return api;