@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.cjs
CHANGED
|
@@ -6220,6 +6220,9 @@ function visualValidateInner(laid, diag, violations, counts, push, profile, skip
|
|
|
6220
6220
|
return { diagramId: safeDiagramId(diag), ok: false, violations, counts, profile, skippedAxes };
|
|
6221
6221
|
}
|
|
6222
6222
|
}
|
|
6223
|
+
function \u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n) {
|
|
6224
|
+
return n.posX !== void 0 && n.posY !== void 0;
|
|
6225
|
+
}
|
|
6223
6226
|
function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5668) {
|
|
6224
6227
|
const LIFELINE_W_THRESHOLD = 8;
|
|
6225
6228
|
for (const n of laid.nodes) {
|
|
@@ -6293,6 +6296,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6293
6296
|
}
|
|
6294
6297
|
const byLane = /* @__PURE__ */ new Map();
|
|
6295
6298
|
for (const n of laid.nodes) {
|
|
6299
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
6296
6300
|
const list = byLane.get(n.lane) ?? [];
|
|
6297
6301
|
list.push(n);
|
|
6298
6302
|
byLane.set(n.lane, list);
|
|
@@ -6637,6 +6641,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6637
6641
|
const byLaneCol = /* @__PURE__ */ new Map();
|
|
6638
6642
|
for (const n of laid.nodes) {
|
|
6639
6643
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
6644
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
6640
6645
|
const list = byLaneCol.get(n.lane) ?? [];
|
|
6641
6646
|
list.push(n);
|
|
6642
6647
|
byLaneCol.set(n.lane, list);
|
|
@@ -6713,7 +6718,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
6713
6718
|
for (const l of laid.lanes) laneById.set(l.id, l);
|
|
6714
6719
|
for (const n of laid.nodes) {
|
|
6715
6720
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
6716
|
-
if (n
|
|
6721
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
6717
6722
|
const lane = laneById.get(n.lane);
|
|
6718
6723
|
if (!lane) continue;
|
|
6719
6724
|
const laneCx = lane.x + lane.width / 2;
|