Conversation
|
What would be really neat is to be able to minimize the portions of the graph that are on either side of the connector, converting them into "black boxes". Later, the same UI could be used to define subroutine-like things. |
49e6aba to
0dd9e8e
Compare
Since this would essentially collapse all inputs, I could see it working for visual clarity but hard to use for subroutines. Though as you know, subroutines are on my personal radar. |
b2af633 to
0621051
Compare
Pfannkuchensack
left a comment
There was a problem hiding this comment.
The things from package.json and vite.config.mts are right ?
invokeai/frontend/web/src/features/nodes/components/flow/Flow.tsx
Outdated
Show resolved
Hide resolved
invokeai/frontend/web/src/features/nodes/components/flow/Flow.tsx
Outdated
Show resolved
Hide resolved
invokeai/frontend/web/src/features/nodes/store/util/connectorTopology.ts
Outdated
Show resolved
Hide resolved
|
@Pfannkuchensack I believe all of your issues were addressed.
All tests pass. |
ce64060 to
7bfeb11
Compare
Summary
Adds persisted editor-only workflow connectors to the node editor.
This is a frontend feature/fix that introduces a lightweight
connectornode for visual edge routing, with editor persistence, connector-aware validation/type propagation, and frontend flattening before execution so runtime never sees connector nodes or edges. It also adds workflow UI support for creating/removing connectors, improves connector deletion splice-through behavior, and allows unresolved connectors to accept compatible downstream targets so target-first wiring works correctly.Also included:
package.jsonscript update to Vitest's worker settings (--maxWorkers=50%) for build/test scriptsRelated Issues / Discussions
QA Instructions
So much to do:
Add Connectorappears.1 -> 1connector delete reconnects source to target1 -> Nreconnects all valid downstream targets1 -> 0removes the connector without creating edgesDelete ConnectorMerge Plan
Checklist
What's Newcopy (if doing a release after this PR)