Terry Jia
abe65e58a0
[3d] add support to upload texture ( #3224 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-24 16:58:45 -04:00
Comfy Org PR Bot
a1cfb68116
[chore] Update litegraph to 0.11.2 ( #3223 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
Co-authored-by: github-actions <github-actions@github.com >
2025-03-24 16:09:40 -04:00
Comfy Org PR Bot
27895dac00
0.11.2 ( #852 )
...
Patch version increment to 0.11.2
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-24 15:46:40 -04:00
Chenlei Hu
c5db2d8736
[Bug] Fix number widget range not enforced ( #850 )
...
Resolves https://github.com/Comfy-Org/ComfyUI_frontend/issues/3204
2025-03-24 15:37:55 -04:00
filtered
123c46d28b
[TS] Add placeholder interfaces for subgraph classes ( #851 )
2025-03-24 19:23:20 +00:00
MohammadAboulEla
5bee36a73e
Enable/Disable the drawing of image size ( #3200 )
2025-03-24 13:47:55 -04:00
filtered
5662aa3790
[API] Remove unused: LGraph.getSupportedTypes ( #849 )
...
Also removes unused `supported_types` static array.
2025-03-24 07:03:07 +00:00
filtered
f0bd360935
[API] Remove unused callbacks ( #848 )
...
- Follow-up on #847
- Removes now-redundant callbacks
2025-03-24 06:58:56 +00:00
filtered
28543d7d9d
[API] Remove unused LGraph APIs ( #847 )
...
Removes unused, outdated helper methods from the original, incomplete
subgraph impl.
2025-03-24 06:24:28 +00:00
filtered
b1462a6274
[API] Add customisation of reroute bezier controls ( #846 )
...
Allows globally setting the bezier control point offset from the reroute
centre point. This can be increased to allow larger curves on longer
links, or set to 0 to completely disable the spline on inter-reroute
link segments.
2025-03-24 06:10:57 +00:00
Chenlei Hu
a4b0f5ab5e
[Bug] Fix widget placeholder rendering ( #3215 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-23 23:02:35 -04:00
filtered
642317f6bd
Reroute link styles ( #845 )
...
Improves linear & straight link styles to work with native reroutes
2025-03-24 13:31:43 +11:00
filtered
f8a2c90138
Fix drag new link from reroute to widget ( #3214 )
2025-03-23 22:29:51 -04:00
Chenlei Hu
27c252f74a
Render placeholder rect for DOM widgets when zoomed out ( #3213 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-23 21:35:58 -04:00
Comfy Org PR Bot
7e26cffb26
[chore] Update litegraph to 0.11.1 ( #3212 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-23 21:02:31 -04:00
niboshi
cb8354bfce
Show error message on drop error ( #3189 )
2025-03-23 20:52:55 -04:00
Comfy Org PR Bot
5a67044206
0.11.1 ( #844 )
...
Patch version increment to 0.11.1
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-23 20:52:15 -04:00
Chenlei Hu
7fc8f8c897
Add lowQuality param to IWidget.draw ( #843 )
...
Currently widget needs to get access to `LGraphCanvas` instance to know
whether the canvas is rendering in low quality (Zoomed out). Usually
canvas object is obtained from `ComfyApp` instance.
This PR passes the lowQuality value to `IWidget.draw` to decouple the
dependency on `LGraphCanvas`.
2025-03-23 20:50:14 -04:00
filtered
c8bd5e43dd
Add litegraph input indicator helper class ( #842 )
...
Example usage with ComfyUI_frontend, via console / devtools:
```ts
const inputIndicators = new InputIndicators(app.canvas)
// Dispose:
inputIndicators.dispose()
```
2025-03-24 11:43:36 +11:00
Comfy Org PR Bot
d5ebd7b7cb
[chore] Update litegraph to 0.11.0 ( #3211 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-24 11:36:24 +11:00
Comfy Org PR Bot
361ae2c589
0.11.0 ( #840 )
...
Minor version increment to 0.11.0
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-24 11:17:29 +11:00
filtered
fd4ffbc1f8
Fix render issues after moving floating input links ( #841 )
...
- Fixes floating inputs have invisible segment after moving
- Fixes floating input can be moved onto existing input link, resulting
in the slot having two links
2025-03-24 00:16:06 +00:00
Comfy Org PR Bot
845d045991
1.15.0 ( #3210 )
...
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
v1.15.0
2025-03-23 19:13:09 -04:00
Chenlei Hu
c3154fe297
[Reroute] Clean floating reroutes in reroute migration ( #3209 )
2025-03-23 18:40:39 -04:00
filtered
7b8f01f546
[Refactor] Split moving links ( #839 )
...
Splits moving links out to separate input and output classes.
2025-03-23 22:11:08 +00:00
Christian Byrne
f90d61fad5
[Style] Remove box shadow on template dialog sidenav ( #3208 )
2025-03-23 16:14:34 -04:00
filtered
05587d8a19
Fix moving existing links can result in loopback ( #838 )
...
Prevents nodes connecting links to themselves when moving existing
links.
If moving multiple links with reroutes, this will instead _reconnect_
any links that would become loopbacks, only without any rereoutes.
2025-03-23 19:00:55 +00:00
Christian Byrne
17834459a1
Fix parsing workflows from 3d outputs on Windows ( #3196 )
2025-03-23 11:42:57 -07:00
filtered
ff6281c840
Fix cannot shift-drag new link from first link segment ( #836 )
...
Fixes issue where new links can only be shift-click dragged from the
link line on link segments *after* a native reroute.
2025-03-23 15:13:06 +00:00
Chenlei Hu
564c4d557f
Migrate legacy reroute to litegraph native reroute ( #3151 )
...
Co-authored-by: github-actions <github-actions@github.com >
2025-03-22 18:56:35 -04:00
filtered
f852639758
Fix slot types added multiple times ( #3194 )
2025-03-23 09:01:12 +11:00
filtered
642e73773c
[CodeHealth] Improve legibility of renderingBoxColor ( #832 )
...
Drastically reduces the cognitive complexity of
`LGraphNode.renderingBoxColor` by impl. early returns.
2025-03-22 21:53:42 +00:00
filtered
a44b8d0581
Fix bypass links on delete gives up after corrupt link ( #831 )
...
Bypass links will now continue to attempt to connect other links,
instead of silently giving up on the first corrupt link it finds.
2025-03-22 21:50:18 +00:00
filtered
ba7f870e0f
[CodeHealth] Improve code readability ( #830 )
2025-03-22 21:48:26 +00:00
Comfy Org PR Bot
eae538b08e
[chore] Update litegraph to 0.11.0-2 ( #3193 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
Co-authored-by: github-actions <github-actions@github.com >
2025-03-23 08:01:25 +11:00
Comfy Org PR Bot
d3685bc6df
0.11.0-2 ( #829 )
...
Prerelease version increment to 0.11.0-2
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-23 07:44:47 +11:00
filtered
b254bae5c5
Allow floating reroutes to be chained when creating new ( #828 )
...
- Resolves #827
2025-03-23 07:38:11 +11:00
filtered
2e95ac9a71
Fix minor render issues with links / reroutes ( #825 )
...
- Fixes link centre marker highlight drawn over dragged items
- Fixes arrow-style link centre marker drawn twice
- Adds missing centre markers for output floating links
- Adds render sort order for reroutes (more links rendered on top)
2025-03-23 06:36:14 +11:00
filtered
16eddaac5f
Render floating links as faded out ( #826 )
...
- Resolves #806
- Renders floating links with a faded-out effect
2025-03-23 06:35:58 +11:00
Dr.Lt.Data
d23108433e
refine locales/ko ( #3185 )
2025-03-22 15:06:10 -04:00
Comfy Org PR Bot
e6e7449ece
[chore] Update litegraph to 0.11.0-1 ( #3190 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-23 03:49:44 +11:00
filtered
5f03d9a3cf
Revert "Implement _.pick to simplify serialization ( #763 )" ( #823 )
...
Reason: Performance
- 40x slower slot serialisation using randomised data
- Overall 2-3x slower `graph.serialize()` on a 600 node graph
This reverts commit 77465113cd .
2025-03-23 03:39:15 +11:00
Comfy Org PR Bot
37ab504bdc
0.11.0-1 ( #824 )
...
Prerelease version increment to 0.11.0-1
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-23 03:31:34 +11:00
filtered
0dd060a369
[API] Require always-exported node properties be defined ( #821 )
...
Now required:
- `type`
- `pos`
- `size`
- `flags`
- `order`
- `mode`
2025-03-23 03:25:57 +11:00
filtered
6380037d1f
[API] Add subgraph schema export types (serialisation) ( #822 )
...
Adds export / serialisation interfaces to support subgraph impl.
2025-03-22 15:59:01 +00:00
filtered
cd9778bb6c
Fix reroutes lost when dropping output links on reroute ( #820 )
...
Blocks attempts to drag links from an output onto a reroute in any of
the links.
2025-03-22 13:49:26 +00:00
Comfy Org PR Bot
22a1200bdf
[chore] Update litegraph to 0.11.0-0 ( #3183 )
...
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
Co-authored-by: github-actions <github-actions@github.com >
2025-03-22 10:08:41 +11:00
Comfy Org PR Bot
b87a671a88
0.11.0-0 ( #819 )
...
Preminor version increment to 0.11.0-0
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-22 09:25:16 +11:00
filtered
2dbd5f4cf0
Allow creating floating reroutes from new link menu ( #818 )
...
Adds an `Add Reroute` option to the new link menu. Creates a new
floating reroute connected to the source slot.
2025-03-22 09:23:20 +11:00
filtered
7c6245ab1c
[Test] Add LinkConnector unit & integration tests ( #816 )
...
- Follow-up on #817
### Unit tests
Adds tests for:
- LinkConnector
- LGraph
### Integration tests for LinkConnector
- Uses and configures a real graph + LGraph
- Avoids mocks
- User input is still mocked
- Performs actual tasks as would be called by LGraphCanvas
- A little verbose in places, but _many_ edge cases are caught by these
tests
2025-03-22 06:47:40 +11:00