@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/dist/index.js
CHANGED
|
@@ -17375,6 +17375,7 @@ function runAxes(laid, diag, violations, counts, push, profile, skippedAxes, \u5
|
|
|
17375
17375
|
}
|
|
17376
17376
|
for (const n of laid.nodes) {
|
|
17377
17377
|
if (n.id.endsWith("-spacer") || /^s\d+-/.test(n.id)) continue;
|
|
17378
|
+
if (!isRenderedNode(n)) continue;
|
|
17378
17379
|
const nodeLeft = n.cx - n.w / 2;
|
|
17379
17380
|
const nodeTop = n.cy - n.h / 2;
|
|
17380
17381
|
const nodeRight = n.cx + n.w / 2;
|