34 Commits

Author SHA1 Message Date
webfiltered
c108421634 Fix empty input not used when connecting links
When dragging a link onto a node, it will always replace the first matching input type, unless you hit the (respectively small) input hit box.

This commit fixes that, honouring the intended behaviour (preferFreeSlot is true in internal calls).
2024-07-21 23:55:03 +10:00
pythongosssss
90aebb6c86
New Menu & Workflow Management (#3112)
* menu

* wip

* wip

* wip

* wip

* wip

* workflow saving/loading

* Support inserting workflows
Move buttosn to top of lists

* fix session storage
implement renaming

* temp

* refactor, better workflow instance management

* wip

* progress on progress

* added send to workflow
various fixes

* Support multiple image loaders

* Support dynamic size breakpoints based on content

* various fixes
add close unsaved warning

* Add filtering tree

* prevent renaming unsaved

* fix zindex on hover

* fix top offset

* use filename as workflow name

* resize on setting change

* hide element until it is drawn

* remove glow

* Fix export name

* Fix test, revert accidental changes to groupNode

* Fix colors on all themes

* show hover items on smaller screen (mobile)

* remove debugging code

* dialog fix

* Dont reorder open workflows
Allow elements around canvas

* Toggle body display on setting change

* Fix menu disappearing on chrome

* Increase delay when typing, remove margin on Safari, fix dialog location

* Fix overflow issue on iOS

* Add reset view button
Prevent view changes causing history entries

* Bottom menu wip

* Various fixes

* Fix merge

* Fix breaking old menu position

* Fix merge adding restore view to loadGraphData
2024-06-25 06:49:25 -04:00
comfyanonymous
a7dd82e668 Fix copy paste issue with litegraph. 2024-04-05 14:59:05 -04:00
comfyanonymous
7daad468ec Sync litegraph to repo.
https://github.com/comfyanonymous/litegraph.js/pull/6
2024-02-06 12:43:06 -05:00
comfyanonymous
6565c9ad4d Litegraph node search improvements.
See: https://github.com/comfyanonymous/litegraph.js/pull/5
2024-01-31 02:26:27 -05:00
comfyanonymous
b9911dcb2f Sync litegraph with repo.
https://github.com/comfyanonymous/litegraph.js/pull/4
2024-01-23 20:01:37 -05:00
comfyanonymous
d35267e85a Litegraph updates.
Update from upstream repo.

Auto select value in prompt.

Increase maximum number of nodes to 10k.
2023-12-21 13:21:25 -05:00
comfyanonymous
d03d8aa2e3 Fix loading groups. 2023-11-23 01:09:15 -05:00
comfyanonymous
eb0407e806 Update litegraph to latest. 2023-11-13 16:26:28 -05:00
Jairo Correa
5a608aa37c Fix node getBounding for collapsed nodes 2023-10-16 17:29:23 -03:00
comfyanonymous
4d41bd595c Fix loading group titles. 2023-09-20 21:46:41 -04:00
comfyanonymous
b92a86d737 Update litegraph to upstream. 2023-09-20 13:24:08 -04:00
comfyanonymous
cb080e771e Lower refresh timeout for search in litegraph. 2023-09-06 16:18:02 -04:00
comfyanonymous
5f101f4da1 Update litegraph with upstream: middle mouse dragging. 2023-08-31 02:39:34 -04:00
comfyanonymous
f7e6a5ed07 Fix litegraph button being black on light theme. 2023-08-10 12:29:56 -04:00
comfyanonymous
0ce8a540ce Update litegraph to latest. 2023-08-06 14:36:43 -04:00
comfyanonymous
90aa597099 Add back roundRect to fix issue on firefox ESR. 2023-07-12 02:07:48 -04:00
comfyanonymous
2b2a1474f7 Move to litegraph. 2023-07-11 03:12:00 -04:00
comfyanonymous
880c9b928b Update litegraph to latest. 2023-07-11 03:00:52 -04:00
reaper47
3402ec0c0d Issue 752: Fix background 2023-06-12 15:58:05 +02:00
comfyanonymous
0764bb5218 Move node properties panel from double click to menu option. 2023-06-03 11:47:20 -04:00
comfyanonymous
c092ffcc18 Latest litegraph from upstream. 2023-06-03 11:46:52 -04:00
comfyanonymous
4088e61aa6 Update litegraph from upstream. 2023-05-16 15:35:07 -04:00
comfyanonymous
84ea21c815 Update litegraph from upstream. 2023-05-14 17:02:40 -04:00
comfyanonymous
2012362493 Adjust node resize area depending on outputs. 2023-04-30 13:02:07 -04:00
comfyanonymous
4cea9aecda Make nodes easier to resize. 2023-04-29 20:53:03 -04:00
comfyanonymous
ee3a12d283 Update litegraph from upstream. 2023-04-25 19:18:50 -04:00
comfyanonymous
e3566679bd Update litegraph from upstream. 2023-04-12 18:00:13 -04:00
comfyanonymous
463792f068 Allow dragging again. 2023-04-07 23:07:19 -04:00
comfyanonymous
07e9a6b826 Update litegraph from upstream. 2023-04-07 15:11:00 -04:00
Zentropivity
4461ddc9e6 Change close on mouseleave to false 2023-03-24 19:18:58 +01:00
Zentropivity
e9206a52da Fix double click handling by not using faulty is_primary check 2023-03-23 10:06:06 +01:00
Zentropivity
8c5d45e7f8 Correct html head and switch litegraph to pointer mode. 2023-03-16 17:05:26 +01:00
pythongosssss
5e25c77074
Initial refactoring changes
- Moved to web folder
 - Splitting into individual files
2023-03-02 20:00:06 +00:00