Skip to content

Linked subgraphs are gone.. #5138

@leonero-h

Description

@leonero-h

Prerequisites

  • I am running the latest version of ComfyUI
  • I have searched existing issues to make sure this isn't a duplicate
  • I have tested with all custom nodes disabled (see how)

What happened?

I could generate linked subgraphs by duplicating a subgraph which had subgraphs in it. This was a great feature and saved a lot of time if I wanted to use instances of same subgraph in two different outer subgraph as in a parametric method.

Now copied subgraphs started to have their inner subgraphs have different ids and are not linked anymore. After a few experiments If they are linked or not is totally random and doesnt make sense now. Sometimes they act linked even tho having different ids, sometimes the id looks the same, and they dont act linked etc. Its total chaos.

Here's an example how it helped;
https://civitai.com/models/1866565?modelVersionId=2120189

workflow on the page is 309kb and has ksampler/model loader/save etc subgraphs linked (same id shared in multiple subgraphs) thus making editing from one of them effect all, by using the same node in multiple workflows.

Exporting the same workflow in up to date frontend breaks the links, gives each unique ids and makes it a mess. File size also goes to 776kb.

Latest working version for linked subgraphs and only bypass instance by context menu was 1.26.2

This was a great feature and I dont know if there's a way to get the same behaviour. Only if there was a way to clone copy/paste a subgraph in another context like a subgraph or main view it would work even better.

Steps to Reproduce

  1. make a subgraph in a subgraph
  2. copy/paste the outer subgraph
  3. inner nodes had the same node id last week but now they are seperate and I cant use them as instances.

How is this affecting you?

Breaks workflow and takes away the feature

ComfyUI Frontend Version

1.26.5

Browser

Chrome/Chromium

Console Errors

Logs

Additional Context

No response

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions