@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/index.js
CHANGED
|
@@ -17345,6 +17345,9 @@ function visualValidateInner(laid, diag, violations, counts, push, profile, skip
|
|
|
17345
17345
|
return { diagramId: safeDiagramId(diag), ok: false, violations, counts, profile, skippedAxes };
|
|
17346
17346
|
}
|
|
17347
17347
|
}
|
|
17348
|
+
function \u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n) {
|
|
17349
|
+
return n.posX !== void 0 && n.posY !== void 0;
|
|
17350
|
+
}
|
|
17348
17351
|
function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5668) {
|
|
17349
17352
|
const LIFELINE_W_THRESHOLD = 8;
|
|
17350
17353
|
for (const n of laid.nodes) {
|
|
@@ -17418,6 +17421,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
17418
17421
|
}
|
|
17419
17422
|
const byLane = /* @__PURE__ */ new Map();
|
|
17420
17423
|
for (const n of laid.nodes) {
|
|
17424
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
17421
17425
|
const list = byLane.get(n.lane) ?? [];
|
|
17422
17426
|
list.push(n);
|
|
17423
17427
|
byLane.set(n.lane, list);
|
|
@@ -17762,6 +17766,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
17762
17766
|
const byLaneCol = /* @__PURE__ */ new Map();
|
|
17763
17767
|
for (const n of laid.nodes) {
|
|
17764
17768
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
17769
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
17765
17770
|
const list = byLaneCol.get(n.lane) ?? [];
|
|
17766
17771
|
list.push(n);
|
|
17767
17772
|
byLaneCol.set(n.lane, list);
|
|
@@ -17838,7 +17843,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
17838
17843
|
for (const l of laid.lanes) laneById.set(l.id, l);
|
|
17839
17844
|
for (const n of laid.nodes) {
|
|
17840
17845
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
17841
|
-
if (n
|
|
17846
|
+
if (\u4F4D\u7F6E\u3092\u624B\u3067\u66F8\u3044\u305F(n)) continue;
|
|
17842
17847
|
const lane = laneById.get(n.lane);
|
|
17843
17848
|
if (!lane) continue;
|
|
17844
17849
|
const laneCx = lane.x + lane.width / 2;
|