Commit Graph

932 Commits

Author SHA1 Message Date
filtered
86d232e939 Split DragAndScale out to TS file 2024-09-27 09:56:19 +09:00
filtered
d7c8a52351 Split LGraphGroup out to TS file 2024-09-27 09:56:19 +09:00
filtered
1c835b04dc Split LGraphNode out to TS file 2024-09-27 09:56:19 +09:00
filtered
f13b7c8818 Split LLink out to TS file 2024-09-27 09:56:19 +09:00
Chenlei Hu
1bb0dab67f Split LGraph out to TS file (#175)
Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com>
2024-09-27 09:45:43 +09:00
filtered
6ee95f1201 TypeScript conversion groundwork (#163)
* ContextMenu ES6 class conversion

* Fix compat with extensions

* CurveEditor ES6 class conversion

* Split most of the LiteGraph global out to a class

* Move remainder of LiteGraph global to class file

* Remove IIFE wrapper

* Fix jest tests throwing due to type narrowing
2024-09-27 08:20:30 +09:00
Chenlei Hu
8a0adc55d8 0.7.78 (#174) 2024-09-26 15:08:16 +09:00
filtered
1404dd6ffe CurveEditor ES6 class conversion (#162) 2024-09-25 19:23:56 +09:00
filtered
6f5fcc0899 Context menu ES6 class conversion (#161)
* ContextMenu ES6 class conversion

* Fix compat with extensions
2024-09-25 19:23:12 +09:00
pythongosssss
bfe7c18e18 Add change events, to use instead of litegraph change methods. (#158)
* Add change events, to use instead of litegraph change methods.

* Move to wrapper function
2024-09-24 15:39:57 +09:00
pythongosssss
7ab8ad2cd3 Allow shift+click on input to create new link from origin (#153) 2024-09-24 12:11:28 +09:00
Chenlei Hu
5d5d1c3e38 0.7.77 (#157) 2024-09-22 15:25:01 +09:00
Chenlei Hu
dd0f0d2890 Restyle hollow circle node slot (#156) 2024-09-22 15:23:54 +09:00
Chenlei Hu
0a86c3347c 0.7.76 (#155) 2024-09-22 11:49:40 +09:00
Chenlei Hu
1ecf5e0a0f Support hollow circle slot shape (#154)
* Support hollow circle slot shape

* Fix stroke
2024-09-22 10:06:46 +09:00
Chenlei Hu
cd1d5d16bc 0.7.75 (#149) 2024-09-16 10:17:44 +09:00
pythongosssss
ba5cffb5b8 Allow link creation from another link by shift+clicking (#148) 2024-09-16 10:15:29 +09:00
Chenlei Hu
fb561983bc 0.7.74 (#146) 2024-09-15 11:01:12 +09:00
Chenlei Hu
3a626f4596 Add getter of nodes on LGraphGroup (#145) 2024-09-15 11:00:32 +09:00
Chenlei Hu
c6b7716211 0.7.73 (#144) 2024-09-14 17:03:17 +09:00
Chenlei Hu
574a4ee440 Fix configure trying to write to getter field (#143)
* Fix configure trying to write to getter field

* Only add getter for nodes and groups
2024-09-14 17:02:22 +09:00
Chenlei Hu
09ee00b92a 0.7.72 (#142) 2024-09-14 16:14:47 +09:00
Chenlei Hu
4c67692e62 Add getters to LGraph private fields (#141) 2024-09-14 16:13:56 +09:00
Chenlei Hu
0f1b72ce94 Version (#140)
* Proper node width/height calculation

* 0.7.71
2024-09-12 17:00:13 +09:00
Chenlei Hu
7dbe6400bb 0.7.70 (#139)
* setDirty

* 0.7.70
2024-09-12 14:27:04 +09:00
Chenlei Hu
1aa2b21551 0.7.69 (#138) 2024-09-12 14:14:34 +09:00
Chenlei Hu
56d3e084af Pin/Unpin all selected nodes on context menu (#136) 2024-09-12 14:09:24 +09:00
Chenlei Hu
a452beb916 0.7.68 (#137) 2024-09-12 13:59:47 +09:00
filtered
32740cc811 Add export ContextMenu (and clamp because why not) (#134) 2024-09-12 10:49:11 +09:00
Chenlei Hu
0ade87b674 0.7.67 (#133) 2024-09-11 18:42:14 +09:00
Chenlei Hu
b1367403b7 Fix badge width when invisble (#132) 2024-09-11 18:40:17 +09:00
Chenlei Hu
87ec5cc104 0.7.66 (#131) 2024-09-11 17:44:07 +09:00
Chenlei Hu
526ba6d8b3 Add LGraphBadge support on node (#130)
* Add badge

* Add badge support
2024-09-11 17:42:43 +09:00
Chenlei Hu
28570fdd24 0.7.65 (#129) 2024-09-09 16:06:14 +09:00
bymyself
6f121fc245 Fix legacy searchbox focus on Firefox (#127) 2024-09-07 18:17:36 +09:00
filtered
009ef1c84b Fix collapsed regression in #114 (#126) 2024-09-06 08:02:10 -04:00
Cesaryuan
49944a0745 Fix blurry links on HiDPI screen (#116) 2024-09-05 11:09:29 -04:00
Chenlei Hu
79d81ec990 0.7.64 (#125) 2024-09-05 10:59:13 -04:00
Chenlei Hu
8a5b165a5b [skip ci] fix getNodeById arg type (#124) 2024-09-05 10:58:33 -04:00
Chenlei Hu
adb8ff335c 0.7.63 (#122) 2024-09-04 18:39:51 -04:00
Chenlei Hu
99d0de239c Fix collapse and resize (#121) 2024-09-04 15:45:22 -04:00
Chenlei Hu
67f486fff7 Add pin icon to end of title (#120) 2024-09-04 15:13:10 -04:00
Chenlei Hu
6636f9869b 0.7.62 (#119) 2024-09-04 13:48:39 -04:00
Chenlei Hu
05ce780cee Fix group title detect (#118) 2024-09-04 12:37:53 -04:00
Chenlei Hu
7897ffdaba Support group pinning and show pin icon on pinned node & group (#117)
* Add locking mechanism

* Add group locking

* Lock move/resize

* Move group menu options

* Rename locked to pinned

* Disable resize on pinned nodes

* nit
2024-09-04 12:33:59 -04:00
Chenlei Hu
22e671df7d 0.7.61 (#115) 2024-09-03 15:32:44 -04:00
Chenlei Hu
74345f27f7 Add selected group bound highlight (#114)
* Add drawSelectionBounding function

* Add selected group highlight

* nit
2024-09-03 15:30:11 -04:00
Chenlei Hu
5338a147ee Refactor LGraphGroup.draw (#113) 2024-09-03 14:11:56 -04:00
Chenlei Hu
658f60a241 0.7.60 (#112) 2024-09-03 13:08:19 -04:00
Chenlei Hu
85076881c8 showConnectionMenu with searchbox options (#111)
* showConnectionMenu with searchbox options

* nit
2024-09-03 13:07:38 -04:00