Commit Graph

1195 Commits

Author SHA1 Message Date
Chenlei Hu
dd1dae7d2f [Cleanup] Remove LiteGraph.fetchFile (#482) 2025-02-08 16:30:40 -05:00
Chenlei Hu
63f9f30eec Implement NumberWidget (#481) 2025-02-08 15:45:23 -05:00
Chenlei Hu
c781053bd2 Implement ComboWidget (#480)
* wip

* Implement onClick
2025-02-08 15:16:15 -05:00
Chenlei Hu
fcc09c075d Implement BooleanWidget.onClick (#479) 2025-02-08 12:45:51 -05:00
Chenlei Hu
9b29860f47 0.8.71 (#478) 2025-02-08 11:53:29 -05:00
Chenlei Hu
790aac89f0 [Refactor] Move drawSlot to NodeSlot (#477)
* [Refactor] Move drawSlot to NodeSlot

* nit
2025-02-07 18:06:25 -05:00
Chenlei Hu
608b5f8342 Implement NodeSlot (#476)
* Implement NodeSlot

* nit
2025-02-07 17:13:32 -05:00
Chenlei Hu
75f067dbb3 Implement BooleanWidget (#466)
* Implement BooleanWidget

* Merge function of addWidget

* Class conversion

* nit
2025-02-07 17:10:30 -05:00
Chenlei Hu
024ede680d 0.8.70 (#475) 2025-02-07 14:29:59 -05:00
Chenlei Hu
a0d275f223 Type widget (#474)
* Type INodeSlot.widget

* nit
2025-02-07 14:29:42 -05:00
filtered
c9f6b5ece8 [Refactor] Update style (#473)
* Update #471 to use Point convention

* Prefer camel case var names
2025-02-07 07:38:28 +11:00
Chenlei Hu
47e9abd4ea 0.8.69 (#472) 2025-02-06 14:37:04 -05:00
dependabot[bot]
82c88a003a Bump vite from 5.4.10 to 5.4.14 (#470)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.10 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-06 14:36:13 -05:00
Chenlei Hu
be03fcc7d1 Upstream drag zoom feature from ComfyUI_frontend (#471) 2025-02-06 14:36:02 -05:00
Chenlei Hu
9d5e94859e 0.8.68 (#469) 2025-02-05 16:35:18 -05:00
Chenlei Hu
316efd6666 Support override of paste position on LGraphCanvas.pasteFromClipboard (#468) 2025-02-05 16:33:52 -05:00
Chenlei Hu
d6a5e417c2 0.8.67 (#467) 2025-02-04 19:29:35 -05:00
Chenlei Hu
1728e4c6f0 [Test] Disable Chromium2x tests (#465) 2025-02-04 17:16:12 -05:00
dependabot[bot]
a5a9ce223d Bump vitest from 2.1.4 to 2.1.9 (#464)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.1.4 to 2.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-05 08:50:05 +11:00
Chenlei Hu
c900df750e Simplify LGraphNode.onDrawBackground signature (#463) 2025-02-05 03:53:49 +11:00
Chenlei Hu
5acb656b15 [Refactor] Add LGraphCanvas.drawTitleText (#462) 2025-02-04 11:19:49 -05:00
Chenlei Hu
530fa874b0 [Refactor] Add LGraphNode.drawTitleBox (#461)
* [Refactor] Add LGraphNode.drawTitleBox

* nit
2025-02-04 10:57:50 -05:00
Chenlei Hu
7ea9a8405d [Reland][Refactor] Move node title background draw logic to LGraphNode (#459)
* [Refactor] Move node title background draw logic to LGraphNode (#452)

* Fix collapsed
2025-02-04 00:33:19 -05:00
Chenlei Hu
f69f8a4f38 Add back accidental removed css rule (#460) 2025-02-03 23:57:01 -05:00
Chenlei Hu
9b5f67aadf [Cleanup] Remove remaining legacy subgraph content (#458) 2025-02-03 23:45:17 -05:00
Chenlei Hu
a3fa551a17 Remove unused LGraphCanvas.onMenuNodeToSubgraph (#457) 2025-02-03 23:39:28 -05:00
Chenlei Hu
3cd08e9e0c Remove LGraph._subgraph_node (Legacy subgraph) (#456) 2025-02-03 23:36:38 -05:00
Chenlei Hu
dc24c6617f Revert "[Refactor] Move node title background draw logic to LGraphNode (#452)" (#455)
This reverts commit 047bf68dc9.
2025-02-03 23:34:46 -05:00
Chenlei Hu
f2fada0eab Remove LGraphCanvas._graph_stack (legacy subgraph) (#454) 2025-02-03 23:32:22 -05:00
Chenlei Hu
b3dbc41368 Remove LGraphNode.subgraph (Legacy subgraph) (#453)
* Remove LGraphNode.subgraph (Legacy subgraph)

* Update snapshot
2025-02-03 23:27:11 -05:00
Chenlei Hu
047bf68dc9 [Refactor] Move node title background draw logic to LGraphNode (#452) 2025-02-03 23:20:51 -05:00
Chenlei Hu
9a1c322490 Remove unnecessary getter/setter register on LGraphNode.shape (#450) 2025-02-03 23:02:55 -05:00
Chenlei Hu
6cf1f2d627 [Refactor] Move shape fallback from LGraphCanvas to LGraphNode (#451)
* [Refactor] Move shape fallback from LGraphCanvas to LGraphNode

* nit
2025-02-03 23:02:42 -05:00
Chenlei Hu
610ebd6ffe 0.8.66 (#449) 2025-02-03 20:27:20 -05:00
Chenlei Hu
9d8e49b8f8 Remove LGraphNode.supported_extensions (#448) 2025-02-03 20:26:37 -05:00
Chenlei Hu
0500d77665 Replace zoom scale check with low_quality flag check (#447)
* Replace zoom scale check with low_quality flag check

* nit
2025-02-03 20:07:27 -05:00
filtered
108af616d8 Remove unused code - wrapFunctionAsNode (#445) 2025-02-03 17:33:55 -05:00
Chenlei Hu
f7db430da8 0.8.65 (#446) 2025-02-03 17:33:35 -05:00
Chenlei Hu
1da2c8a914 [Refactor] Move node color fallback from LGraphCanvas to LGraphNode (#444)
* [Refactor] Move node color fallback from LGraphCanvas to LGraphNode

* nit
2025-02-03 16:51:01 -05:00
Chenlei Hu
4844311f3b Add ts-strict-ignore plugin (#443)
* Add ts-strict-ignore plugin

* nit
2025-02-03 15:49:58 -05:00
Chenlei Hu
0ee671843b Use consistent low_quality threshold in LGraphCanvas (#442)
* Use consistent low_quality threshold in LGraphCanvas

* Add LGraphCanvas.low_quality_zoom_threshold
2025-02-03 15:04:04 -05:00
Chenlei Hu
682f4c624f 0.8.64 (#441) 2025-02-03 14:15:36 -05:00
Chenlei Hu
5ba6472c70 Remove LGraphCanvas.render_title_colored (#440)
* Remove LGraphCanvas.render_title_colored

* Simplify logic
2025-02-03 14:12:04 -05:00
Chenlei Hu
3e133b71e6 [Refactor] Add LGraphNode.title_mode (#439) 2025-02-03 13:57:14 -05:00
Chenlei Hu
00de6ae960 Fix LGraphNode.height (#438)
* Fix LGraphNode.height

* nit
2025-02-03 12:42:27 -05:00
Chenlei Hu
eb47a3aab2 0.8.63 (#437) 2025-02-02 23:04:02 -05:00
Chenlei Hu
655ddfd1df Fix strokeShape default option values (#436)
* Move comments

* Fix strokeShape default values
2025-02-02 23:03:42 -05:00
Chenlei Hu
817214e6da [Refactor] Move strokeShape from LGraphCanvas to draw (#435)
* [Refactor] Move strokeShape from LGraphCanvas to draw

* Fix round radius

* nit

* nit

* nit
2025-02-02 22:29:26 -05:00
Chenlei Hu
a4791f6e6b Remove unused LGraphCanvas.onConnectingChange (#434) 2025-01-30 15:40:55 -08:00
filtered
33d41a452e 0.8.62 (#433) 2025-01-27 19:41:49 +11:00