@cardenelabs/cdl 0.116.0 → 0.117.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 +30 -1
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +6 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +6 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/visual-validate.ts +22 -1
package/dist/react.js
CHANGED
|
@@ -6218,6 +6218,9 @@ function visualValidateInner(laid, diag, violations, counts, push, profile, skip
|
|
|
6218
6218
|
return { diagramId: safeDiagramId(diag), ok: false, violations, counts, profile, skippedAxes };
|
|
6219
6219
|
}
|
|
6220
6220
|
}
|
|
6221
|
+
function \u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n) {
|
|
6222
|
+
return n.posX !== void 0 && n.posY !== void 0;
|
|
6223
|
+
}
|
|
6221
6224
|
function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5668) {
|
|
6222
6225
|
const LIFELINE_W_THRESHOLD = 8;
|
|
6223
6226
|
for (const n of laid.nodes) {
|
|
@@ -6291,6 +6294,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6291
6294
|
}
|
|
6292
6295
|
const byLane = /* @__PURE__ */ new Map();
|
|
6293
6296
|
for (const n of laid.nodes) {
|
|
6297
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
6294
6298
|
const list = byLane.get(n.lane) ?? [];
|
|
6295
6299
|
list.push(n);
|
|
6296
6300
|
byLane.set(n.lane, list);
|
|
@@ -6635,6 +6639,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6635
6639
|
const byLaneCol = /* @__PURE__ */ new Map();
|
|
6636
6640
|
for (const n of laid.nodes) {
|
|
6637
6641
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
6642
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
6638
6643
|
const list = byLaneCol.get(n.lane) ?? [];
|
|
6639
6644
|
list.push(n);
|
|
6640
6645
|
byLaneCol.set(n.lane, list);
|
|
@@ -6711,7 +6716,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6711
6716
|
for (const l of laid.lanes) laneById.set(l.id, l);
|
|
6712
6717
|
for (const n of laid.nodes) {
|
|
6713
6718
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
6714
|
-
if (n
|
|
6719
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
6715
6720
|
const lane = laneById.get(n.lane);
|
|
6716
6721
|
if (!lane) continue;
|
|
6717
6722
|
const laneCx = lane.x + lane.width / 2;
|