mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
[Debug] Include more items in graph diff output
This commit is contained in:
@@ -399,7 +399,12 @@ export class ChangeTracker {
|
|||||||
function sortGraphNodes(graph: ComfyWorkflowJSON) {
|
function sortGraphNodes(graph: ComfyWorkflowJSON) {
|
||||||
return {
|
return {
|
||||||
links: graph.links,
|
links: graph.links,
|
||||||
|
floatingLinks: graph.floatingLinks,
|
||||||
|
reroutes: graph.reroutes,
|
||||||
groups: graph.groups,
|
groups: graph.groups,
|
||||||
|
extra: graph.extra,
|
||||||
|
definitions: graph.definitions,
|
||||||
|
subgraphs: graph.subgraphs,
|
||||||
nodes: graph.nodes.sort((a, b) => {
|
nodes: graph.nodes.sort((a, b) => {
|
||||||
if (typeof a.id === 'number' && typeof b.id === 'number') {
|
if (typeof a.id === 'number' && typeof b.id === 'number') {
|
||||||
return a.id - b.id
|
return a.id - b.id
|
||||||
|
|||||||
Reference in New Issue
Block a user