@cardenelabs/cdl 0.103.0 → 0.104.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 +21 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +1 -0
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/visual-validate.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,25 @@ CDL (Chainome Diagram Language) の主要変更履歴。
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.104.0] - 2026-09-30
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **描かない節を板の外に出たと数えるのを直した** (#945)
|
|
13
|
+
|
|
14
|
+
軸 53 (`node-inside-viewbox`) が `isRenderedNode` を引くようにした。
|
|
15
|
+
|
|
16
|
+
板は描く節だけに寄せる (`layout/viewbox.ts` が同じ述語を引く) のに、板の外に出ていないかを
|
|
17
|
+
見る判定は描かない節も相手にしていた。 0.93.0 (#924) で「描くものが 1 つも無い図は台を
|
|
18
|
+
出さない」 を入れてから、`visibleIf: "0"` の 1x1 の置き石だけを持つ図の板が最小の
|
|
19
|
+
120x120 になり、置き石はもとの座標 (例 150,128) に残るため全件が誤りとして挙がっていた
|
|
20
|
+
(引く側の読み取り盤の見本 17 枚で実測)。
|
|
21
|
+
|
|
22
|
+
判定を板と同じ述語に揃えた。 描く節が板の外に出る場合は従来どおり誤りとして出す。
|
|
23
|
+
|
|
24
|
+
同じ位置を見る軸のうち、軸 54 (`node-inside-lane`) には述語を足していない。 帯の位置は
|
|
25
|
+
板とは別に決まり、誤りが出る形を 1 件も観測していないため。
|
|
26
|
+
|
|
8
27
|
## [0.103.0] - 2026-09-30
|
|
9
28
|
|
|
10
29
|
### Added
|
|
@@ -4201,7 +4220,8 @@ Initial OSS release.
|
|
|
4201
4220
|
使わない = annotated tag を push しても GitHub Release は作られず、 Release を作っていない版で
|
|
4202
4221
|
行き止まりになる。
|
|
4203
4222
|
|
|
4204
|
-
[Unreleased]: https://github.com/cardene777/cdl/compare/v0.
|
|
4223
|
+
[Unreleased]: https://github.com/cardene777/cdl/compare/v0.104.0...HEAD
|
|
4224
|
+
[0.104.0]: https://github.com/cardene777/cdl/compare/v0.103.0...v0.104.0
|
|
4205
4225
|
[0.103.0]: https://github.com/cardene777/cdl/compare/v0.102.0...v0.103.0
|
|
4206
4226
|
[0.102.0]: https://github.com/cardene777/cdl/compare/v0.101.0...v0.102.0
|
|
4207
4227
|
[0.101.0]: https://github.com/cardene777/cdl/compare/v0.100.0...v0.101.0
|
package/dist/index.cjs
CHANGED
|
@@ -17377,6 +17377,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
17377
17377
|
}
|
|
17378
17378
|
for (const n of laid.nodes) {
|
|
17379
17379
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
17380
|
+
if (!isRenderedNode(n)) continue;
|
|
17380
17381
|
const nodeLeft = n.cx - n.w / 2;
|
|
17381
17382
|
const nodeTop = n.cy - n.h / 2;
|
|
17382
17383
|
const nodeRight = n.cx + n.w / 2;
|