filtered
f53c04834f
Add support for Litegraph LinkConnector ( #2925 )
2025-03-09 09:37:47 +11:00
filtered
8e59fbfaa2
Prep link connector ( #725 )
...
Prepration for LinkConnector replacement
- Simplifies code
- Minor perf improvement
- nits and clean up
2025-03-08 20:43:27 +00:00
filtered
5ab9d9d25c
Warn users if calling connectSlots incorrectly ( #724 )
...
Prevents silent failures from going unnoticed.
2025-03-08 18:21:10 +00:00
filtered
68945cb54d
Remove getTime workaround and Node.js type bleeding ( #723 )
...
- Removes legacy timer workaround (redundant on Chrome v6 / Node.js v16)
- Removes old type workarounds
- Improves type inference speed
2025-03-08 13:27:49 +00:00
Chenlei Hu
fb0a134278
[Bug] Fix widget remove when node is deleted ( #2918 )
2025-03-07 17:48:37 -05:00
Christian Byrne
082f0061f6
Refactor responsive sidebar to composable ( #2917 )
2025-03-07 15:46:43 -05:00
MohammadAboulEla
d10dad85c6
Update formatUtil.ts ( #2906 )
...
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com >
2025-03-07 15:06:26 -05:00
Chenlei Hu
e4659a3930
Move i18n related content to src/locales/README.md ( #2916 )
2025-03-07 15:04:04 -05:00
Chenlei Hu
87c21b45d7
[nit] format fix ( #2913 )
2025-03-07 13:21:54 -05:00
Chenlei Hu
c21510773e
[Bug] Fix link drop on multi-line string dom widget ( #718 )
...
Resolves https://github.com/Comfy-Org/ComfyUI_frontend/issues/2905
2025-03-07 10:28:07 -05:00
nmvjhd
8718e20693
Use Built-in VAE for Workflow Generation from Images ( #2910 )
...
Co-authored-by: matengfei <matengfei@qiyi.com >
2025-03-07 09:43:31 -05:00
Comfy Org PR Bot
37ae12eb41
[chore] Update Comfy Registry API types from comfy-api@a3897fc ( #2907 )
...
Co-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com >
2025-03-07 09:39:04 -05:00
filtered
20bdc47550
[API] Add convenience methods to LGraphNode ( #717 )
...
- getInputOnPos
- getOutputOnPos
- getSlotOnPos
- Follow-up on #716
- Uses more explicit names for class methods moved to module functions
2025-03-07 14:38:55 +00:00
filtered
3e44f6a0c1
[API] Add improved slot locator functions ( #716 )
...
- Returns object with slot, index, and pos
- Locate-by-type returns object with slot & index
- Uses standard `undefined` return for concise chaining & validation
- Free 10x perf increase over getConnectionPos (used basic random data
to test, out of curiosity)
2025-03-07 13:18:06 +00:00
filtered
84fad5b8a5
[Perf] Fix unnecessary canvas redraw (null vs undefined) ( #715 )
...
Fixes regression added in TS strict conversion. A fallback to `null`
added to match the TS type, however value being stored was actually
uncaught use of `undefined`.
`null` !== `undefined` -> redraw every frame the pointer moves
2025-03-07 11:50:53 +00:00
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