Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

Regenerate Checkout comparison for updated Passport timing

tt-a1iaf87ba86eb29
diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.html
index aecf2523..31d821e7 100644
--- a/examples/checkout-platform-delta.html
+++ b/examples/checkout-platform-delta.html
@@ -12602,7 +12602,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (options.reveal !== false && Archify.view && typeof Archify.view.reveal === 'function') {
Archify.view.reveal(result.nodeIds, { includeNeighbors: false, reason: 'reachability' });
}
- requestLensPlacement();
+ placeRelationshipLens();
return true;
}
function reachabilitySnapshot() {
@@ -13082,7 +13082,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
target.removeAttribute('data-preview-active');
});
renderRelationshipCopyAction();
- requestLensPlacement();
+ placeRelationshipLens();
}
function previewRelationship(button, options) {
options = options || {};
@@ -13109,7 +13109,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (!chip.hidden && options.direct !== true) chip.setAttribute('data-relationship-previewing', 'true');
activeRelationshipPreview = button;
renderRelationshipPulse(key);
- requestLensPlacement();
+ placeRelationshipLens();
}
function syncRelationshipPreview() {
var next = pinnedRelationship || focusedRelationship || hoveredRelationship;
@@ -13390,7 +13390,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
var lensFrame = 0;
function placeRelationshipLens() {
- lensFrame = 0;
+ if (lensFrame) {
+ cancelAnimationFrame(lensFrame);
+ lensFrame = 0;
+ }
if (chip.hidden || activeIds.length !== 1) return;
var node = svg.querySelector('[data-node-id="' + activeIds[0] + '"]');
if (!node) return;
@@ -13591,7 +13594,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chip.hidden = options.hideChip === true || normalized.length !== 1 || selectionMode;
if (!chip.hidden) {
renderRelationshipLens(normalized[0], byId);
- requestLensPlacement();
+ placeRelationshipLens();
}
if (options.updateUrl !== false) {
var key = options.urlKey || 'focus';
@@ -13677,7 +13680,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
relationsBtn.setAttribute('aria-label', viewerText(expanded
? 'viewer.passport.relations.show'
: 'viewer.passport.relations.hide'));
- requestLensPlacement();
+ placeRelationshipLens();
});
relationshipList.addEventListener('click', function (event) {
var button = event.target.closest('[data-relationship-target]');
@@ -13793,7 +13796,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
reachabilitySnapshot: reachabilitySnapshot,
inspectRelationship: inspectRelationship,
inspectRelationshipById: inspectRelationshipById,
- reposition: requestLensPlacement,
+ reposition: placeRelationshipLens,
relationship: function () {
var record = pinnedRelationshipRecord();
return record ? { id: record.id || null, key: record.key, from: record.from, to: record.to, label: record.label } : null;
@@ -27848,7 +27851,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (options.reveal !== false && Archify.view && typeof Archify.view.reveal === 'function') {
Archify.view.reveal(result.nodeIds, { includeNeighbors: false, reason: 'reachability' });
}
- requestLensPlacement();
+ placeRelationshipLens();
return true;
}
function reachabilitySnapshot() {
@@ -28328,7 +28331,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
target.removeAttribute('data-preview-active');
});
renderRelationshipCopyAction();
- requestLensPlacement();
+ placeRelationshipLens();
}
function previewRelationship(button, options) {
options = options || {};
@@ -28355,7 +28358,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
if (!chip.hidden && options.direct !== true) chip.setAttribute('data-relationship-previewing', 'true');
activeRelationshipPreview = button;
renderRelationshipPulse(key);
- requestLensPlacement();
+ placeRelationshipLens();
}
function syncRelationshipPreview() {
var next = pinnedRelationship || focusedRelationship || hoveredRelationship;
@@ -28636,7 +28639,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
}
var lensFrame = 0;
function placeRelationshipLens() {
- lensFrame = 0;
+ if (lensFrame) {
+ cancelAnimationFrame(lensFrame);
+ lensFrame = 0;
+ }
if (chip.hidden || activeIds.length !== 1) return;
var node = svg.querySelector('[data-node-id="' + activeIds[0] + '"]');
if (!node) return;
@@ -28837,7 +28843,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
chip.hidden = options.hideChip === true || normalized.length !== 1 || selectionMode;
if (!chip.hidden) {
renderRelationshipLens(normalized[0], byId);
- requestLensPlacement();
+ placeRelationshipLens();
}
if (options.updateUrl !== false) {
var key = options.urlKey || 'focus';
@@ -28923,7 +28929,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
relationsBtn.setAttribute('aria-label', viewerText(expanded
? 'viewer.passport.relations.show'
: 'viewer.passport.relations.hide'));
- requestLensPlacement();
+ placeRelationshipLens();
});
relationshipList.addEventListener('click', function (event) {
var button = event.target.closest('[data-relationship-target]');
@@ -29039,7 +29045,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
reachabilitySnapshot: reachabilitySnapshot,
inspectRelationship: inspectRelationship,
inspectRelationshipById: inspectRelationshipById,
- reposition: requestLensPlacement,
+ reposition: placeRelationshipLens,
relationship: function () {
var record = pinnedRelationshipRecord();
return record ? { id: record.id || null, key: record.key, from: record.from, to: record.to, label: record.label } : null;
diff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.json
index 2ede6546..b0484d62 100644
--- a/examples/checkout-platform-delta.receipt.json
+++ b/examples/checkout-platform-delta.receipt.json
@@ -219,8 +219,8 @@
"Boundary identity is conservatively derived from kind + label."
],
"artifact": {
- "sha256": "718fa5f08befa088ae9ecbcc00e0c0a1109347305173cb1df5413b282247c834",
- "bytes": 2218492
+ "sha256": "70422d29e156367a3a8f47b3618df346e7390d4bddaabe89432d05f5e9b71628",
+ "bytes": 2218664
},
"validation": {
"checksPassed": 28,