Skip to content

feat(workflows): add remove_node and _is_link helper - #65

Open
jab416171 wants to merge 1 commit into
Comfy-Org:mainfrom
jab416171:main
Open

feat(workflows): add remove_node and _is_link helper#65
jab416171 wants to merge 1 commit into
Comfy-Org:mainfrom
jab416171:main

Conversation

@jab416171

Copy link
Copy Markdown
Contributor

Add _is_link() helper to detect ComfyUI API-format connection links ([node_id, output_index]). Add remove_node() method to Workflow that deletes a node and redirects downstream links back to their sources when the removed node has exactly one link input.

@jab416171
jab416171 requested review from a team as code owners August 21, 2026 23:40
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 507134e3-5462-420c-8dad-3614811a1015


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jab416171
jab416171 force-pushed the main branch 3 times, most recently from b1dca78 to cf6e800 Compare August 21, 2026 23:49
Add _is_link() helper to detect ComfyUI API-format connection links
([node_id, output_index]). Add remove_node() method to Workflow that
deletes a node and redirects downstream links back to their sources
when the removed node has exactly one link input.
@wei-hai wei-hai added the cursor-review Request an automated Cursor review label Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cursor-review Request an automated Cursor review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants