Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Litegraph Reroute Beta #1421

Merged
merged 8 commits into from
Nov 12, 2024
Merged

Litegraph Reroute Beta #1421

merged 8 commits into from
Nov 12, 2024

Conversation

webfiltered
Copy link
Contributor

@webfiltered webfiltered commented Nov 4, 2024

Native Reroutes

  • Allows users to start using the new Litegraph reroutes
  • All reroute features are disabled by default
  • Reroute features are not yet complete; more ways to create and manage reroutes are planned

Settings

Litegraph native reroute opt-in

image

Middle click slot -> Original ComfyUI Reroute node

image

Link midpoint markers

image

Alt drag from a link to create a reroute

reroute-alt-drag.mp4

Shift drag from a reroute to create another link

reroute-shift-drag.mp4

Link midpoint markers

  • No marker
    link-marker-none
  • Default circles
    link-marker-circle
  • New directional Arrow
    link-marker-arrow

Frontend code changes

  • afterRerouteId to the frontend ConnectingLinks wrapper (which discards the original object)
  • afterRerouteId to showConnectionMenu options wrapper

Requires

@webfiltered webfiltered force-pushed the reroute-connecting-links branch from af85899 to 233f80f Compare November 11, 2024 11:43
@webfiltered webfiltered marked this pull request as ready for review November 12, 2024 01:10
@webfiltered webfiltered changed the title Litegraph: Reroute support II Litegraph Reroute Beta Nov 12, 2024
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@comfyorg/[email protected] None 0 0 B

🚮 Removed packages: npm/@comfyorg/[email protected]

View full report↗︎

@huchenlei huchenlei merged commit feafbf9 into main Nov 12, 2024
9 checks passed
@huchenlei huchenlei deleted the reroute-connecting-links branch November 12, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants