[Debug] Include more items in graph diff output

This commit is contained in:
filtered
2025-05-15 12:13:55 +10:00
parent cae1845d6c
commit 7f6d0b3c47

View File

@@ -399,7 +399,12 @@ export class ChangeTracker {
function sortGraphNodes(graph: ComfyWorkflowJSON) {
return {
links: graph.links,
floatingLinks: graph.floatingLinks,
reroutes: graph.reroutes,
groups: graph.groups,
extra: graph.extra,
definitions: graph.definitions,
subgraphs: graph.subgraphs,
nodes: graph.nodes.sort((a, b) => {
if (typeof a.id === 'number' && typeof b.id === 'number') {
return a.id - b.id