@cardenelabs/cdl 0.71.0 → 0.72.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,28 @@ CDL (Chainome Diagram Language) の主要変更履歴。
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.72.0] - 2026-09-26
9
+
10
+ ### Fixed
11
+
12
+ - **縦に積んだ分かれ道の図で、分岐の字が行き先の箱に乗るのを直した** (#882 / #883)
13
+
14
+ 0.71.0 で足した `direction: "vertical"` の図で、分岐の字が箱に重なっていた。
15
+
16
+ ```
17
+ node:approve ↔ edge-label:fc-1-review-approve gap=1.0px (need 32px)
18
+ ```
19
+
20
+ 分岐の字 (`true` / `false` / `はい` / `いいえ`) は道筋の上に重ねて描く。
21
+ 重ねる形は **線が長い時に効く** = 横に並べた図の分岐は縦列をまたぐので線が長く、
22
+ 道筋の上に字を置いても箱に掛からない。
23
+
24
+ 縦 1 本に積むと分岐の線が上下に隣り合う箱の間の短い縦線になり、そこへ重ねた字が
25
+ 行き先の箱に乗る。 重ねなければ段の間隔を字の分だけ広げる計算に入る
26
+ (`requiredStackGapForEdgeLabels`)。
27
+
28
+ 縦に積む図でだけ重ねるのをやめた。 横に並べた図は今までどおり重ねる (対照で確認)。
29
+
8
30
  ## [0.71.0] - 2026-09-26
9
31
 
10
32
  ### Added
@@ -3002,7 +3024,8 @@ Initial OSS release.
3002
3024
  使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
3003
3025
  行き止まりになる。
3004
3026
 
3005
- [Unreleased]: https://github.com/cardene777/cdl/compare/v0.71.0...HEAD
3027
+ [Unreleased]: https://github.com/cardene777/cdl/compare/v0.72.0...HEAD
3028
+ [0.72.0]: https://github.com/cardene777/cdl/compare/v0.71.0...v0.72.0
3006
3029
  [0.71.0]: https://github.com/cardene777/cdl/compare/v0.70.0...v0.71.0
3007
3030
  [0.70.0]: https://github.com/cardene777/cdl/compare/v0.69.0...v0.70.0
3008
3031
  [0.69.0]: https://github.com/cardene777/cdl/compare/v0.68.0...v0.69.0
package/dist/index.cjs CHANGED
@@ -33668,7 +33668,7 @@ function flowchart(preset) {
33668
33668
  label,
33669
33669
  tone: e.tone ?? tone,
33670
33670
  style: "solid",
33671
- overlay: isConditionLabel
33671
+ overlay: isConditionLabel && !\u7E26\u306B\u7A4D\u3080
33672
33672
  });
33673
33673
  phaseActivate.push(edgeId);
33674
33674
  return api;