Commit Graph
97 Commits
Author SHA1 Message Date
rgthree 3d276f3d64 Start seed node as -1 when newly created. 2023-12-06 21:49:10 -05:00
rgthree 423d59c311 Better collapsed width calc for context nodes. 2023-12-06 21:48:43 -05:00
rgthree fb4bfd820d Mark bookmark as virutal node. 2023-12-06 21:47:37 -05:00
rgthree 52b38f7f44 A hacky workaround to compensate for upstream comfyui changes. May help #69, in a round-a-bout hacky way. 2023-12-06 01:51:12 -05:00
rgthree 4ba02790ec Add missing onKeyDown and onKeyUp to litegraph typings. 2023-12-05 22:33:07 -05:00
rgthree 518d8eccf8 Extend rgthree and dialog from eventtarget; add showHelp method to base node; 2023-12-05 22:28:12 -05:00
rgthree f612c8482f Add proper connection layout to any switch. Fix #68 2023-12-05 21:25:56 -05:00
rgthree d893175896 Optimize timing for newly added nodes; use requestAnimationFrame after a setTimeout in case browser coordinates that with painting. 2023-12-03 23:51:17 -05:00
rgthree 43b40bb931 Place shared groups logic into a singleton service that optimizes Fast Group Muter/Bypasser when there are multiple nodes. Mentioned in #65 2023-12-03 23:17:46 -05:00
rgthree a81daa2a16 No-op; move Reroute node's class outside of registerExtension 2023-12-03 00:36:55 -05:00
rgthree 5694a274f3 Add custom sort to fast group muter/bypasser. Fixes #65 2023-12-02 19:18:54 -05:00
rgthree eb7bb9ab3b Move existing help popups to new rgthree help dialogs. 2023-12-02 14:08:59 -05:00
rgthree 530bbb36a4 Standardize help menu for new nodes. Cleanup rendering for fast group (add ellipsis). 2023-12-02 13:53:45 -05:00
rgthree debb5d3f59 Mark Fast Groups Muter/Bypasser as a Virtual Node. Should fix #64 2023-12-02 11:03:36 -05:00
rgthree 5fe31c188d remove debug console logs 2023-12-02 00:12:10 -05:00
rgthree 34b34175f9 Fix messaging in link_fixer 2023-12-01 23:54:07 -05:00
rgthree a2922602f5 Add help for bypasser 2023-12-01 23:45:54 -05:00
rgthree c10e7d4759 Help Dialog for Fast Groups Muter and generic support for more. 2023-12-01 23:14:40 -05:00
rgthree 189bf8e099 New node! Adds a Bookmark node, that can be placed anywhere in the workflow, and given a shortcut_key to move the viewport right to that node in the top-left corner. 2023-12-01 23:00:38 -05:00
rgthree 981a5eb275 Only swap seed widget values if ComfyUI is currently processing a queue. Fixes #62 2023-12-01 22:20:25 -05:00
rgthree 887bd53c59 Better name option for alerting for corrupt workflows. 2023-11-30 23:44:14 -05:00
rgthree 39c66749c2 Make showing the UI for corrupt links optional and off by default. It can be a power-user thing. 2023-11-30 23:41:46 -05:00
rgthree d7cf0e393b New Node: Fast Groups Bypasser 2023-11-30 23:04:03 -05:00
rgthree a7e7c3f196 New Node: Fast Groups Muter! 2023-11-30 22:37:46 -05:00
rgthree 9f655b3fe8 Apply link_page fix to TypeScript src. 2023-11-30 22:37:20 -05:00
rgthree 8d15053a48 Call to the nodeType's getExtraMenuOptions as other extensions may override it on its way from the server. Fixes #60 for Context and other nodes. 2023-11-27 12:39:23 -05:00
rgthree 03ede18cbe Call old oldGetExtraMenuOptions for seed. Fixes #60 2023-11-27 12:20:38 -05:00
rgthree a197b650c3 Generalize the UI messaging in rgthree. 2023-10-22 17:59:31 -04:00
rgthree a6f6df5e3a Call out to from rgthree server nodes, for ComfyUI-Manager badges 2023-10-22 14:46:47 -04:00
rgthree f7ab5bc179 Move some utilities to shared_utils and clean up widgets in base node. 2023-10-17 22:13:00 -04:00
rgthree f0f820f28d Merge branch 'main' of https://github.com/rgthree/rgthree-comfy 2023-10-17 21:57:06 -04:00
rgthree fc24ef272a Remove debug console.log 2023-10-17 21:54:34 -04:00
rgthree efebc58aab Add ability to connect all nodes from dragging input base_ctx, and unify output connection. Also, fix misspelling for CLIP_HEIGHT 2023-10-17 21:50:21 -04:00
Rhys Yang 4ca1d7be96 Fix seed decrement 2023-10-18 08:41:11 +08:00
rgthree cc23fe1f1e Divorce Context nodes from ComfyNode implementation to fix instability with inputs, types, and widgets. 2023-10-07 13:30:59 -04:00
rgthree c93998c0d4 Patch isValidConnection so old nodes can work with this new COMBO input type. 2023-10-06 23:23:48 -04:00
rgthree 50dee1bfe6 Fix reroute node disconnecting from churned COMBO types (patch). Addresses #41 2023-10-06 12:41:11 -04:00
rgthree 5e3d02ec6f Some style tweaks. Fixes #40 2023-10-04 20:40:37 -04:00
rgthree c13810262a Fix default connection layout for Reroute. 2023-10-03 22:35:50 -04:00
rgthree 678e13a44c Don't allow reroute default sizes under 10 2023-10-01 22:25:05 -04:00
rgthree 3cbcce5277 Add some node config, starting with reroute node. Fixes #32 2023-10-01 22:12:58 -04:00
rgthree 3d95fd942e Add help menu item to the Random Unmuter node. 2023-10-01 17:19:34 -04:00
rgthree 882f407446 Adds a new node: Random Unmuter and addresses #31. Also adds ability to hook into prompting from rgthree global. 2023-10-01 16:52:50 -04:00
rgthree 0034199e76 Adds a 'Any Switch' that will choose the first non-null input. Fixes #26. Also, correct link colors on reroute input nodes 2023-10-01 00:10:02 -04:00
rgthree c01735c1b1 Use LiteGraph.isValidConnection to check Reroute node connectibility. Fixes #29 2023-09-30 20:12:39 -04:00
rgthree 1f6e63d665 Avoid stabilizing inputs & outputs while the being configured, as connected nodes may delay instantiating slot types. Should fix #27 2023-09-18 22:40:00 -04:00
rgthree c4c2b8e9f1 Only connect to any when there's inputs. 2023-09-17 11:51:02 -04:00
rgthree 7a11b8cf28 Add an option to monitor for bad links. 2023-09-16 22:24:05 -04:00
rgthree 5f041918c3 Add back labels for other nodes 2023-09-16 22:18:24 -04:00
rgthree 3f63d2a4fb Don't show slot types on reroutes with labels. Fixes #25 2023-09-16 20:42:13 -04:00