filtered
a4b9704a80
Remove entry point import, merge modules ( #590 )
...
* Remove unused import in lib entry point
* [Refactor] Merge type util modules
2025-02-25 01:25:42 +00:00
filtered
ad8dd7a9d8
Export enum ( #589 )
...
* Revert "Export enum (#587 )"
This reverts commit cf8565eb13 .
* Export enums
2025-02-25 01:08:04 +00:00
Chenlei Hu
a8b6f1e1ec
0.8.96 ( #588 )
2025-02-24 19:37:43 -05:00
Chenlei Hu
cf8565eb13
Export enum ( #587 )
2025-02-24 19:37:18 -05:00
Chenlei Hu
fdc693204c
0.8.95 ( #586 )
2025-02-24 19:29:29 -05:00
Chenlei Hu
fadece7fdf
Type LGraphNode.addInput/Output ( #585 )
2025-02-24 19:29:04 -05:00
Chenlei Hu
59dea644f2
Move marker property from BaseWidget to SliderWidget ( #584 )
...
* Move marker property from BaseWidget to SliderWidget
* nit
2025-02-24 16:35:34 -05:00
Chenlei Hu
170341db73
Type ButtonWidget ( #583 )
...
* Type ButtonWidget
* nit
2025-02-24 16:30:04 -05:00
filtered
630fd00086
[API] Remove unused LiteGraph APIs ( #582 )
...
* [API] Remove unused LiteGraph APIs
These features have not been maintained, and would require refactoring / rewrites. As code search revealed them to be unused, they are being removed.
- addNodeMethod
- compareObjects
- auto_sort_node_types
* Udpate API.md
2025-02-24 12:04:07 +00:00
filtered
c8ffacf172
[TS] Use strict mode in LGraph ( #579 )
...
* [TS] Undefined is not a valid object key
* Deprecate unused code
Adds ts-expect-error to TS strict issues on unmaintained public interfaces.
* [TS] Fix nullability: asSerialisable return type
* nit - Remove outdated comment
* [TS] Strict mode: LGraph
- Adds minor coercion changes; would need extremely specific hacks performed to result in runtime change
* [TMP] Work around typescript-strict-plugin
Must be reverted once plugin removed.
See #578
2025-02-24 11:12:46 +00:00
filtered
9d6c867607
[TS] Strict mode: CurveEditor ( #580 )
...
- Converts `CurveEditor` to ts strict
- Two runtime changes: explicit throws instead of `TypeError` on following line
2025-02-24 10:21:35 +00:00
filtered
bcd5a77837
[TS] Strict initializers - LGraph ( #573 )
...
Duplicates values from clear() to property initializers.
2025-02-24 03:30:20 +00:00
filtered
f3b51a534e
[Test] Standardise unit test infrastructure ( #572 )
...
* [Test] Revert custom name for test context
- Removes "lgTest", replaces with default "test"
* nit - Rename test extensions file
* Split test graphs out to separate file
2025-02-24 01:56:22 +00:00
Chenlei Hu
b0a1ce8290
0.8.94 ( #571 )
2025-02-23 18:44:01 -05:00
filtered
1800d31a5a
[Refactor] Prefer modern for..of loops 2 ( #569 )
...
* [Refactor] Prefer for..of
* [Refactor] Prefer for..of - manual refactoring
* Partially revert change - potential conflict
Not worth time investment to fix - reverted.
2025-02-23 16:36:52 -05:00
Chenlei Hu
f300e37a89
Remove NodeSlot.pos when serializing WidgetInputSlot ( #570 )
2025-02-23 16:11:56 -05:00
filtered
4add6c3211
[Cleanup] Follow-up on #566 - fix style ( #568 )
2025-02-23 20:20:44 +00:00
filtered
46535409c8
[CI] Fix existing lint warnings & disallow in future ( #567 )
...
* Fix lint warnings
* [CI] Fail lint checks instead of warning
* [CI] Fail stylistic lint checks instead of warning
2025-02-23 20:12:04 +00:00
filtered
4163cb04b8
[Refactor] Prefer modern for..of loops ( #566 )
...
- Replaces traditional incrementing `for` loops and `forEach()` calls with modern `for..of` syntax
- Improves readability
- Semantic checking used; not expecting issues to arise from this portion
2025-02-23 19:59:41 +00:00
Chenlei Hu
de5ea39c71
0.8.93 ( #565 )
2025-02-23 13:07:09 -05:00
Chenlei Hu
86f823b7d5
[nit] Move isColorable out of interfaces.ts ( #564 )
2025-02-23 13:06:03 -05:00
bymyself
d17e7f567d
type LGraphNode.addWidget ( #562 )
...
* type addWidget
* help out ts compiler
* Update LGraphNode.ts
---------
Co-authored-by: Chenlei Hu <huchenlei@proton.me >
2025-02-23 13:01:17 -05:00
Chenlei Hu
e1ea72eb89
0.8.92 ( #561 )
2025-02-21 09:25:43 -05:00
Chenlei Hu
dc9a76200b
[BugFix] Call LGraphCanvas.deleteSelected on context menu remove ( #560 )
2025-02-20 15:22:53 -05:00
Chenlei Hu
4dc971383f
0.8.91 ( #559 )
2025-02-20 13:55:34 -05:00
Chenlei Hu
c8385657db
Add LGraphNode.expandToFitContent ( #558 )
2025-02-20 13:55:02 -05:00
Chenlei Hu
d0ab5e07c9
0.8.90 ( #557 )
2025-02-20 13:06:17 -05:00
Chenlei Hu
dcac6dba80
[BugFix] Auto grow node if widgets need more space ( #556 )
2025-02-20 12:45:31 -05:00
filtered
1dee497e40
Fix drag event throws introduced in #554 ( #555 )
2025-02-20 16:30:38 +11:00
filtered
b67f34e7f3
[Cleanup] Remove lint bypass, remove unused vars ( #554 )
2025-02-20 11:17:35 +11:00
filtered
485bfd1628
[Cleanup] Remove unused code ( #553 )
2025-02-20 10:54:24 +11:00
Chenlei Hu
31e16b6748
0.8.89 ( #552 )
2025-02-19 14:57:53 -05:00
Chenlei Hu
7bab620986
Fix IColorable.getColorOption ( #551 )
...
* Fix IColorable.getColorOption
* nit
2025-02-19 14:57:29 -05:00
Chenlei Hu
8b1b8d2a76
0.8.88 ( #550 )
2025-02-19 13:56:55 -05:00
Chenlei Hu
6b1e40a011
Add IColorable interface ( #549 )
...
* Add IColorable interface
* Set color option
* nit
* nit
* nit
2025-02-19 13:56:08 -05:00
Chenlei Hu
2592c18790
0.8.87 ( #548 )
2025-02-18 19:32:53 -05:00
Chenlei Hu
d27ced7cf3
[BugFix] Fix unknown node with converted widgets ( #547 )
2025-02-18 19:32:06 -05:00
Chenlei Hu
026437e1a9
0.8.86 ( #546 )
2025-02-18 16:51:50 -05:00
Chenlei Hu
6703a1f1fa
[Type] Mark LGraphGroup.color as optional ( #545 )
...
* [Type] Mark LGraphGroup.color as optional
* nit
2025-02-18 16:51:17 -05:00
Chenlei Hu
aafd7202c2
0.8.85 ( #544 )
2025-02-18 11:49:32 -05:00
Chenlei Hu
196645ce7e
Clear selectedItems on canvas clear ( #543 )
2025-02-18 11:49:06 -05:00
bymyself
e800eeb202
type selected_nodes ( #541 )
2025-02-18 11:48:54 -05:00
Chenlei Hu
f010180b79
0.8.84 ( #540 )
2025-02-17 17:23:03 -05:00
Chenlei Hu
9288709497
Trigger onSelectionChange on deleteSelected ( #539 )
2025-02-17 17:22:32 -05:00
Chenlei Hu
8c6979223d
0.8.83 ( #538 )
2025-02-16 20:25:29 -05:00
Chenlei Hu
28e86820d6
Trigger LGraphCanvas.onSelectionChange on drag-select ( #537 )
2025-02-16 20:24:59 -05:00
Chenlei Hu
7d97a6e505
0.8.82 ( #536 )
2025-02-16 11:38:28 -05:00
Chenlei Hu
1e71da9a38
Show widget input inplace ( #535 )
...
* Show widget input inplace
* nit
* nit
2025-02-16 11:37:47 -05:00
Chenlei Hu
52a96a14d6
0.8.81 ( #534 )
2025-02-15 14:36:25 -05:00
Chenlei Hu
7a25899ecc
Reverse computeSize and computeLayoutSize priority ( #533 )
2025-02-15 14:35:09 -05:00