filtered
b546131efb
[chore] Update litegraph accessor: isNodeOverInput ( #2909 )
2025-03-07 21:53:53 +11:00
filtered
7e2009188d
[Refactor] Split functions out to file ( #713 )
...
Splits code out from `LGraphCanvas`.
2025-03-07 09:07:38 +00:00
Terry Jia
e51dcb9860
[3d] improve lineart ( #2903 )
2025-03-06 21:35:46 -05:00
Chenlei Hu
5f149ceb30
[BugFix] Sync dom widget store state on widget remove ( #2902 )
2025-03-06 18:29:30 -05:00
Chenlei Hu
54f96ca028
Add LGraphCanvas.isNodeVisible ( #711 )
...
Add LGraphCanvas.isNodeVisible or more efficient node visibility checks.
2025-03-06 15:20:51 -05:00
Chenlei Hu
d74f47db0b
Directly use node.collapsed state in dom widget ( #2900 )
2025-03-06 13:50:45 -05:00
Chenlei Hu
f7be9157e0
Dom widget store ( #2899 )
2025-03-06 13:23:58 -05:00
Christian Byrne
caaf050728
Fix animated webp output preview ( #2897 )
2025-03-06 11:19:48 -05:00
Christian Byrne
367a1c63a5
Fix template dialog double scrollbar ( #2896 )
2025-03-06 11:17:53 -05:00
Christian Byrne
f0ba48ea22
Trim whitespace in URL form items ( #2884 )
2025-03-06 11:17:24 -05:00
filtered
a5c2464c88
[Refactor] Simplify code - getConnectionOnPos ( #710 )
...
Improves readability of `LGraphNode.getConnectionOnPos`.
2025-03-06 12:00:51 +00:00
Chenlei Hu
aca419e1fb
[nit] Remove duplicated declaration on DOMWidget interface ( #2883 )
2025-03-05 17:34:48 -05:00
Chenlei Hu
e7863676dd
[BugFix] Fire resize callback for all dom widgets under the same node ( #2882 )
2025-03-05 16:59:16 -05:00
Chenlei Hu
a6d54de2a7
Rename 'queue' button to 'run' button ( #2881 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-05 14:56:05 -05:00
Chenlei Hu
15e396b4cc
[Refactor] Remove app.getWidgetType ( #2880 )
2025-03-05 14:02:13 -05:00
Chenlei Hu
ba4e4ed0b8
Deprecate widgetType:widgetName key in widgets map ( #2879 )
2025-03-05 13:32:47 -05:00
Chenlei Hu
35e6cabfe7
Use v2 input spec for combo widget ( #2878 )
2025-03-05 13:12:51 -05:00
Chenlei Hu
8a479979b1
Use v2 input spec in string widgets ( #2877 )
2025-03-05 12:48:23 -05:00
Chenlei Hu
1882a9af6f
Fix node min size specified by widget constructor ( #2876 )
2025-03-05 12:09:29 -05:00
Chenlei Hu
621568f99e
Fix extension node def manipulation ( #2873 )
2025-03-05 11:18:58 -05:00
filtered
e62ef2e0aa
[Refactor] Prefer undefined over explicit null ( #709 )
...
- Ref: #595
2025-03-05 10:22:51 +00:00
filtered
7a2af7008b
[Refactor] Rename to connectSlots ( #708 )
...
- Follow-up on #703
- Changes name to match original intent
2025-03-05 19:01:26 +11:00
Robin Huang
b71952c141
Update uv astral python mirror. ( #2863 )
2025-03-04 18:53:58 -05:00
Chenlei Hu
680268bb29
Generate json schema for node def ( #2862 )
2025-03-04 17:40:26 -05:00
Chenlei Hu
d0ce2d2597
[Cleanup] Refactor widget construction ( #2861 )
2025-03-04 17:40:13 -05:00
Chenlei Hu
6255cea181
Use V2 schema in widget constructors (Part 1) ( #2860 )
2025-03-04 17:22:13 -05:00
Chenlei Hu
89b73429b7
Add back type guard on string widget ( #2859 )
2025-03-04 16:52:58 -05:00
bymyself
a415da616c
Add Comfy Registry store and search hook ( #2848 )
2025-03-04 16:33:46 -05:00
Chenlei Hu
05b6f6d8a2
[Cleanup] Remove unused LGraphNode.callback ( #2857 )
2025-03-04 16:05:12 -05:00
Chenlei Hu
2d179ad632
[Refactor] Use node def v2 in registerNodeDef ( #2856 )
2025-03-04 12:07:13 -05:00
Chenlei Hu
fe5964ceb6
[Refactor] Use V2 node def in ComfyApp ( #2854 )
2025-03-04 11:14:14 -05:00
filtered
3411ecbc15
[Refactor] Allow bypassing legacy duck-typed API ( #703 )
...
`LGraphNode.connect()` has been altered many times and attempts to
handle too many scenarios in a single public call.
- Moves link creation to a separate function
- Allows the legacy duck-typed API to continue functioning as-is
2025-03-04 14:23:53 +00:00
Chenlei Hu
f593f3caa4
[Schema] ComfyNodeDefV2 schema ( #2847 )
2025-03-04 09:15:16 -05:00
filtered
8a3487a209
Remove redundant code - LGraphNode ( #702 )
...
- Removes unreachable and redundant code.
- Fixes TS type
2025-03-05 00:58:02 +11:00
filtered
252e07ad17
[Workaround] Fix #2849 with runtime type guard ( #2850 )
2025-03-04 23:10:09 +11:00
filtered
8bee428375
[API] Remove unused LGraph.onNodeConnectionChange ( #701 )
...
Confirmed unused via code search.
2025-03-04 09:18:38 +00:00
Chenlei Hu
51aafaec08
[TS] Fix InputSpec type in node constructor ( #2846 )
2025-03-03 21:26:21 -05:00
bymyself
e8efd0d801
Show templates to first time user ( #2841 )
2025-03-03 18:49:08 -05:00
bymyself
22f0dcc0a0
Fix handling of templates index.json not found ( #2842 )
2025-03-03 18:48:30 -05:00
Chenlei Hu
b2f3d85e24
[Cleanup] Remove manual double click delay ( #2840 )
2025-03-03 17:36:26 -05:00
bymyself
e1f23bf02e
Rename SVD templates ( #2839 )
2025-03-03 17:35:36 -05:00
Chenlei Hu
8affd7eec7
[Cleanup] Remove combo connection type check ( #2838 )
2025-03-03 17:35:18 -05:00
bymyself
47604e6c2d
Add Comfy Registry service ( #2836 )
2025-03-03 16:58:06 -05:00
Comfy Org PR Bot
b24bc48102
Update locales for node definitions ( #2837 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-03 16:57:43 -05:00
filtered
e4a41669f6
Fix moving output links loses subsequent reroutes
...
Now maintains any level of reroute chain complexity when moving links.
2025-03-04 07:25:10 +11:00
Chenlei Hu
603825b2a0
[Refactor] Add util to merge input spec ( #2834 )
2025-03-03 15:23:47 -05:00
filtered
32b6b7eff9
Fix reroutes lost when moving links via outputs ( #699 )
...
- Resolves #309
https://github.com/user-attachments/assets/70c8b9ba-b4e6-4293-a254-6ae95930d1f1
2025-03-03 19:16:55 +00:00
filtered
aca81a99c8
Fix regression in legacy search ( #698 )
...
- Resolves https://github.com/Comfy-Org/ComfyUI_frontend/issues/2828
- Issue caused by earlier instantiation of `input` object
2025-03-03 17:42:00 +00:00
filtered
b227eefbdd
Improve connecting link logic ( #697 )
...
### Current
- Connections are disconnected the moment a link starts being dragged
- Reseating a connection where it came from creates a new connection
- If the process is somehow interrupted, the links are already gone
### Proposed
- Connection is disconnected after a new connection is made
- Rendering is bypassed for the link segment being moved
- Does nothing if dropping a link exactly where it came from
- Adds early return when trying to connect a node to itself
2025-03-03 17:03:31 +00:00
Chenlei Hu
ca1607024f
Add tooltip to selection toolbox items ( #2829 )
2025-03-03 11:22:18 -05:00