Repository navigation
docs: document selecting canvas links with a frame - #1981
Conversation
In ComfyUI_frontend (675f9b56eb7, Comfy-Org/ComfyUI_frontend#20837) a frame drawn over the canvas that captures no nodes, groups or reroutes now selects the visible links it crosses. The selection toolbox then offers Hide, which keeps the connection and hides the wire, and Delete, which removes the link. Both are single undo steps and Comfy.Canvas.DeleteSelectedItems falls back to the link selection, so Delete and Backspace do the same. Adds a "Selecting links" subsection to the canvas controls page in all four languages, next to the existing link visibility controls. Translation hashes resynced.
|
Warning Review limit reached
This review includes 4 billable files and costs up to $1.00. Or wait 30 minutes for your next included review. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
|
反馈:如果前端功能更新带有版本说明(例如 本 PR 已补充:框选连线功能需要 ComfyUI 前端 ≥ 1.58.0(来自 ComfyUI_frontend#20837, |
Co-authored-by: Daxiong (Lin) <comfyui-wiki@users.noreply.github.com>
Summary
Adds the link selection behaviour that shipped in Comfy-Org/ComfyUI_frontend#20837 (
675f9b56eb7) to the canvas controls page.Comfy.Canvas.HideSelectedLinks), and a delete action, which removes the link from the graph (Comfy.Canvas.DeleteSelectedLinks).Comfy.Canvas.DeleteSelectedItemsfalls back to the link selection, soDeleteandBackspaceremove a link selection too.ShiftandAltframes and the Hand canvas mode never select links (marqueeSelectsLinksinLGraphCanvas.ts).The new
### Selecting linkssubsection sits in the existing "Links and canvas globals" section, next to the link visibility controls.Files
interface/canvas-controls.mdxpluszh/,ja/,ko/withtranslationSourceHashresynced.git diff upstream/main..HEAD --stat: 4 files, 30 insertions, 6 deletions.Verification
origin/mainofComfyUI_frontend:src/lib/litegraph/src/LGraphCanvas.ts(marqueeSelectsLinks),src/lib/litegraph/src/canvas/linkSelection.ts,src/lib/litegraph/src/canvas/linkVisibility.ts,src/components/graph/selectionToolbox/LinkSelectionActions.vue,src/composables/useCoreCommands.ts.