filtered
c77082fe2f
Close context menus on any click outside the menu ( #895 )
...
Current: Right click in e.g. `textarea` leaves litegraph context menus
open.
Proposed: Any click anywhere outside the context menu (or its sub-menus)
will close all context menus.
2025-04-06 13:30:42 +00:00
filtered
ee625b4112
Revert "Support associated socket for widgets" ( #896 )
...
Reverts Comfy-Org/litegraph.js#891
Temporary revert to unblock other PRs (causing test failures; frontend
PR for this has not yet been merged).
2025-04-06 12:38:18 +00:00
dependabot[bot]
981979335e
Bump vite from 6.2.0 to 6.2.5 ( #893 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite )
from 6.2.0 to 6.2.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases ">vite's
releases</a>.</em></p>
<blockquote>
<h2>v6.2.5</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md ">CHANGELOG.md</a>
for details.</p>
<h2>v6.2.4</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md ">CHANGELOG.md</a>
for details.</p>
<h2>v6.2.3</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.2.3/packages/vite/CHANGELOG.md ">CHANGELOG.md</a>
for details.</p>
<h2>v6.2.2</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.2.2/packages/vite/CHANGELOG.md ">CHANGELOG.md</a>
for details.</p>
<h2>create-vite@6.2.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/create-vite@6.2.1/packages/create-vite/CHANGELOG.md ">CHANGELOG.md</a>
for details.</p>
<h2>v6.2.1</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v6.2.1/packages/vite/CHANGELOG.md ">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md ">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->6.2.5 (2025-04-03)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19782 ">#19782</a>,
fs check with svg and relative paths (<a
href="fdb196e9f8 ">fdb196e</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19782 ">#19782</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.2.4 (2025-03-31)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: fs check in transform middleware (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19761 ">#19761</a>)
(<a
href="7a4fabab6a ">7a4faba</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19761 ">#19761</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.2.3 (2025-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: fs raw query with query separators (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19702 ">#19702</a>)
(<a
href="f234b5744d ">f234b57</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19702 ">#19702</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.2.2 (2025-03-14)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: await client buildStart on top level buildStart (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19624 ">#19624</a>)
(<a
href="b31faab2a8 ">b31faab</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19624 ">#19624</a></li>
<li>fix(css): inline css correctly for double quote use strict (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19590 ">#19590</a>)
(<a
href="d0aa833296 ">d0aa833</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19590 ">#19590</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19613 ">#19613</a>)
(<a
href="363d691b49 ">363d691</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19613 ">#19613</a></li>
<li>fix(indexHtml): ensure correct URL when querying module graph (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19601 ">#19601</a>)
(<a
href="dc5395a27e ">dc5395a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19601 ">#19601</a></li>
<li>fix(preview): use preview https config, not server (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19633 ">#19633</a>)
(<a
href="98b3160fa5 ">98b3160</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19633 ">#19633</a></li>
<li>fix(ssr): use optional chaining to prevent "undefined is not an
object" happening in `ssrRewriteStac (<a
href="43097550a1 ">4309755</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19612 ">#19612</a></li>
<li>feat: show friendly error for malformed <code>base</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19616 ">#19616</a>)
(<a
href="2476391b28 ">2476391</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19616 ">#19616</a></li>
<li>feat(worker): show asset filename conflict warning (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19591 ">#19591</a>)
(<a
href="367d968fbf ">367d968</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19591 ">#19591</a></li>
<li>chore: extend commit hash correctly when ambigious with a non-commit
object (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19600 ">#19600</a>)
(<a
href="89a6287324 ">89a6287</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19600 ">#19600</a></li>
</ul>
<h2><!-- raw HTML omitted -->6.2.1 (2025-03-07)<!-- raw HTML omitted
--></h2>
<ul>
<li>refactor: remove <code>isBuild</code> check from preAliasPlugin (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19587 ">#19587</a>)
(<a
href="c9e086d35a ">c9e086d</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19587 ">#19587</a></li>
<li>refactor: restore endsWith usage (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19554 ">#19554</a>)
(<a
href="6113a9670c ">6113a96</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19554 ">#19554</a></li>
<li>refactor: use <code>applyToEnvironment</code> in internal plugins
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19588 ">#19588</a>)
(<a
href="f678442d57 ">f678442</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19588 ">#19588</a></li>
<li>fix(css): stabilize css module hashes with lightningcss in dev mode
(<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19481 ">#19481</a>)
(<a
href="92125b41e4 ">92125b4</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19481 ">#19481</a></li>
<li>fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19555 ">#19555</a>)
(<a
href="f612e0fdf6 ">f612e0f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19555 ">#19555</a></li>
<li>fix(reporter): fix incorrect bundle size calculation with non-ASCII
characters (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19561 ">#19561</a>)
(<a
href="437c0ed8ba ">437c0ed</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19561 ">#19561</a></li>
<li>fix(sourcemap): combine sourcemaps with multiple sources without
matched source (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18971 ">#18971</a>)
(<a
href="e3f6ae14f7 ">e3f6ae1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18971 ">#18971</a></li>
<li>fix(ssr): named export should overwrite export all (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19534 ">#19534</a>)
(<a
href="2fd2fc1107 ">2fd2fc1</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19534 ">#19534</a></li>
<li>feat: add <code>*?url&no-inline</code> type and warning for
<code>.json?inline</code> / <code>.json?no-inline</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19566 ">#19566</a>)
(<a
href="c0d36677cd ">c0d3667</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19566 ">#19566</a></li>
<li>test: add glob import test case (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19516 ">#19516</a>)
(<a
href="aa1d8075cc ">aa1d807</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19516 ">#19516</a></li>
<li>test: convert config playground to unit tests (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19568 ">#19568</a>)
(<a
href="c0e68da477 ">c0e68da</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19568 ">#19568</a></li>
<li>test: convert resolve-config playground to unit tests (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19567 ">#19567</a>)
(<a
href="db5fb48f5d ">db5fb48</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19567 ">#19567</a></li>
<li>perf: flush compile cache after 10s (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19537 ">#19537</a>)
(<a
href="6c8a5a27e6 ">6c8a5a2</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19537 ">#19537</a></li>
<li>chore(css): move environment destructuring after condition check (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19492 ">#19492</a>)
(<a
href="c9eda2348c ">c9eda23</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19492 ">#19492</a></li>
<li>chore(html): remove unnecessary value check (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19491 ">#19491</a>)
(<a
href="797959f01d ">797959f</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/19491 ">#19491</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c176acf70a "><code>c176acf</code></a>
release: v6.2.5</li>
<li><a
href="fdb196e9f8 "><code>fdb196e</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19782 ">#19782</a>,
fs check with svg and relative paths</li>
<li><a
href="037f801075 "><code>037f801</code></a>
release: v6.2.4</li>
<li><a
href="7a4fabab6a "><code>7a4faba</code></a>
fix: fs check in transform middleware (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19761 ">#19761</a>)</li>
<li><a
href="16869d7c99 "><code>16869d7</code></a>
release: v6.2.3</li>
<li><a
href="f234b5744d "><code>f234b57</code></a>
fix: fs raw query with query separators (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19702 ">#19702</a>)</li>
<li><a
href="b12911edba "><code>b12911e</code></a>
release: v6.2.2</li>
<li><a
href="98b3160fa5 "><code>98b3160</code></a>
fix(preview): use preview https config, not server (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19633 ">#19633</a>)</li>
<li><a
href="b31faab2a8 "><code>b31faab</code></a>
fix: await client buildStart on top level buildStart (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19624 ">#19624</a>)</li>
<li><a
href="dc5395a27e "><code>dc5395a</code></a>
fix(indexHtml): ensure correct URL when querying module graph (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/19601 ">#19601</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v6.2.5/packages/vite ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Comfy-Org/litegraph.js/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-06 10:32:37 +10:00
Comfy Org PR Bot
76d63948b2
0.12.0-0 ( #892 )
...
Preminor version increment to 0.12.0-0
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-04-05 16:29:50 -04:00
Chenlei Hu
1ef4921c0a
Support associated socket for widgets ( #891 )
...
This PR is the litegraph side change necessary for widget sockets
feature in ComfyUI_frontend. Changes include
- Add readonly `Widget.computedDisabled` property for getting the
computed disabled state. When the associated socket is connected, the
widget is disabled
- Dynamically show the associated socket when
- the mouse is over the widget
- the slot is valid during link drop
- the slot is connected
- Removes the legacy widget drop behavior
Ref: https://github.com/Comfy-Org/rfcs/pull/9
2025-04-05 16:29:37 -04:00
filtered
c07176eb08
[Cleanup] Remove redundant code ( #890 )
...
- Follow-up on #888
2025-04-05 09:45:43 +00:00
Comfy Org PR Bot
70661ec421
0.11.10 ( #889 )
...
Patch version increment to 0.11.10
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-04-05 06:15:10 +00:00
filtered
64c7113440
Fix link corruption ( #888 )
...
- Adds link & floating link integrity tests to all LinkConnector
integration tests
- Fixes link changes may be lost when moving floating links
2025-04-05 05:34:55 +00:00
Chenlei Hu
c4373deeea
[Test] Add test on moving output links ( #887 )
...
Ref: https://github.com/Comfy-Org/litegraph.js/issues/881
Verifies that moving output links does not cause link corruption.
2025-04-04 14:57:19 -04:00
Chenlei Hu
29c923e0e3
[Bug] Fix slot link state corruption on moving link between sockets ( #882 )
...
Ref: https://github.com/Comfy-Org/litegraph.js/issues/881
This PR fixes the corrupted link state when moving link from one input
socket to another.
2025-04-04 14:28:41 -04:00
Chenlei Hu
d17b86a6b8
[Test] Validate slot links after each test ( #886 )
...
Disable `"Should move input links"` test case as it fails validation.
Ref: https://github.com/Comfy-Org/litegraph.js/issues/881
2025-04-04 14:22:02 -04:00
Comfy Org PR Bot
f63cf8648e
0.11.9 ( #880 )
...
Patch version increment to 0.11.9
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-04-03 11:24:57 -04:00
Chenlei Hu
8a94232f61
[nit] Remove IDrawOptions.showText ( #879 )
...
`showText` is essentially an alias of `!lowQuality`. Removing it from
the interface.
2025-04-03 11:24:51 -04:00
filtered
05b0918915
Support dragging reroutes from floating links ( #878 )
...
Allows dragging reroutes from floating links.
2025-04-03 12:08:28 +00:00
Comfy Org PR Bot
a4e1b39823
0.11.8 ( #877 )
...
Patch version increment to 0.11.8
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-04-01 14:56:51 -04:00
Chenlei Hu
184ba3915a
[TS] Properly type slot widget ( #876 )
...
INodeSlot.widget is not real widget references at runtime. This PR
narrows the type so that we don't run into unexpected issues.
2025-04-01 14:54:14 -04:00
Comfy Org PR Bot
125ca24d13
0.11.7 ( #873 )
...
Patch version increment to 0.11.7
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-30 17:49:32 -04:00
Chenlei Hu
df279024c4
Upstream render of slot error ( #872 )
...
Upstream slot error rendering from ComfyUI_frontend.

2025-03-30 17:40:44 -04:00
Chenlei Hu
30a7f19a64
Upstream progressbar rendering ( #871 )
...
Upstreams progress bar rendering from ComfyUI_frontend.
2025-03-30 17:14:09 -04:00
Comfy Org PR Bot
8a9b1c7071
0.11.6 ( #870 )
...
Patch version increment to 0.11.6
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-30 11:51:29 -04:00
Chenlei Hu
0eeaf90647
[nit] Rename IDrawBoundingOptions args ( #869 )
2025-03-30 11:46:45 -04:00
Chenlei Hu
854ac4350f
Add LGraphNode.strokeStyles API ( #868 )
...
This should allow frontend drop the stroke logic in hijack of
`drawNodeShape`. Example usage:
```ts
node.strokeStyles["executionError"] = (this: LGraphNode) =>
app.lastNodeErrors?.[this.id] ? { colour: 'red', thickness: 2 } : undefined
```
2025-03-30 11:29:37 -04:00
Chenlei Hu
27a2b785ac
[Cleanup] Remove use_legacy_node_error_indicator ( #867 )
...
The fallback option was added in
https://github.com/Comfy-Org/litegraph.js/pull/358 . So far no code is
using this legacy fallback option. Removing it now.
2025-03-30 10:30:39 -04:00
Comfy Org PR Bot
ba5809a9b4
0.11.5 ( #865 )
...
Patch version increment to 0.11.5
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-28 09:04:53 +11:00
filtered
7b3ea64714
Fix 862 ( #864 )
...
- Follow-up on #862
- Corrects issues with floating reroute switch logic
- Updates test expectations
2025-03-28 09:00:58 +11:00
Comfy Org PR Bot
59317bcda7
0.11.4 ( #863 )
...
Patch version increment to 0.11.4
Co-authored-by: webfiltered <176114999+webfiltered@users.noreply.github.com >
2025-03-28 05:21:29 +11:00
filtered
a20bae064f
Allow floating reroute switches ( #862 )
...
- Resolves https://github.com/Comfy-Org/ComfyUI_frontend/issues/3247
Bypasses the logic that automatically removed reroutes that had no
remaining links. Reroutes are now always converted to floating whenever
reroutes are reconnected.
2025-03-27 18:18:22 +00:00
Comfy Org PR Bot
332b18bd91
0.11.3 ( #861 )
...
Patch version increment to 0.11.3
Co-authored-by: huchenlei <20929282+huchenlei@users.noreply.github.com >
2025-03-26 15:09:27 -04:00
Chenlei Hu
a6aec4017b
[Bug] Fix link drop on widget ( #860 )
...
Resolves https://github.com/Comfy-Org/litegraph.js/issues/857
2025-03-26 15:08:04 -04:00
Chenlei Hu
6fd6c60b9f
[Bug] Fix drag link from input to output ( #859 )
...
Resolves https://github.com/Comfy-Org/litegraph.js/issues/858
2025-03-26 14:53:30 -04:00
Chenlei Hu
808d78169b
Early return in LGraphCanvas.deselectAll ( #856 )
...
Avoid trigger `onSelectionChange` when nothing is selected.
2025-03-25 10:22: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
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
filtered
642317f6bd
Reroute link styles ( #845 )
...
Improves linear & straight link styles to work with native reroutes
2025-03-24 13:31:43 +11: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
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
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
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
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
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