@cardenelabs/cdl 0.54.0 → 0.55.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
@@ -5,6 +5,17 @@ CDL (Chainome Diagram Language) の主要変更履歴。
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.55.0] - 2026-09-11
9
+
10
+ ### Changed
11
+
12
+ - **流れ図の分岐の札「はい」「いいえ」 を、線の上に重ねて描くようにした** (#839)
13
+
14
+ `flowchart` の組み立ては、判断の箱から出る矢印の札が `true` `false` `yes` `no` の時だけ、
15
+ どちらの枝かを線そのものに読ませるため札を線の上に重ねる。 日本語で分岐を書いた `はい` `いいえ` は
16
+ この扱いから外れ、普通の札として線から離れて描かれていた。 この 2 語も同じく重ねる。
17
+ 一致は完全一致に限り、 `はいはい` や `いいえの時` のように語を含むだけの札は今までどおり線から離す。
18
+
8
19
  ## [0.54.0] - 2026-09-11
9
20
 
10
21
  ### Changed
@@ -2487,7 +2498,8 @@ Initial OSS release.
2487
2498
  使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
2488
2499
  行き止まりになる。
2489
2500
 
2490
- [Unreleased]: https://github.com/cardene777/cdl/compare/v0.54.0...HEAD
2501
+ [Unreleased]: https://github.com/cardene777/cdl/compare/v0.55.0...HEAD
2502
+ [0.55.0]: https://github.com/cardene777/cdl/compare/v0.54.0...v0.55.0
2491
2503
  [0.54.0]: https://github.com/cardene777/cdl/compare/v0.53.0...v0.54.0
2492
2504
  [0.53.0]: https://github.com/cardene777/cdl/compare/v0.52.0...v0.53.0
2493
2505
  [0.52.0]: https://github.com/cardene777/cdl/compare/v0.51.0...v0.52.0
package/dist/index.cjs CHANGED
@@ -33032,7 +33032,7 @@ function flowchart(preset) {
33032
33032
  edge(e) {
33033
33033
  const edgeId = `fc-${edgeIdx++}-${e.from}-${e.to}`;
33034
33034
  const label = e.label ?? "";
33035
- const isConditionLabel = /^(true|false|yes|no)$/i.test(label.trim());
33035
+ const isConditionLabel = /^(true|false|yes|no|はい|いいえ)$/i.test(label.trim());
33036
33036
  b.edge(e.from, e.to, {
33037
33037
  id: edgeId,
33038
33038
  label,