mirror of
https://github.com/tusharbhutt/Endless-Nodes.git
synced 2026-03-21 20:42:12 -03:00
Added minimap and node spawner
Added minimap and node spawner
This commit is contained in:
114
README.md
114
README.md
@@ -3,6 +3,7 @@
|
||||
Some basic custom nodes for the ComfyUI user interface for Stable Diffusion. Features:
|
||||
|
||||
+ **True batch multi-prompting capability for ComfyUI**
|
||||
+ **Quality of Life scripts such as multiple node spawning and node minimap**
|
||||
+ An image saver for images and JSON files to base folder, custom folders for one, or custom folders for both. Also allows for Python timestamping
|
||||
+ Switches for text and numbers
|
||||
+ Random prompt selectors
|
||||
@@ -15,6 +16,23 @@ When using the [ComfyUI](https://github.com/comfyanonymous/ComfyUI) interface fo
|
||||
Rightly or wrongly, I was teaching myself a bit of Python back in 2023 to get some nodes up and running to do what I'd like, and I am starting to do that again. Yes, I am using ChatGPT, Copilot, Claude and others, and yes, I am a glutton for punishment. There are no promises that these nodes will work for you or that I will maintain them. Feel free to do with them as you wish, according to the license model.
|
||||
|
||||
***
|
||||
**UPDATE: JUL 25, 2025**
|
||||
|
||||
**New for Version 1.5:**
|
||||
|
||||
|
||||
+ Added the Endless 🌊✨ Node Spawner, which accesses your node library and allows you to select nodes to places
|
||||
+ Categorizes your nodes based on the ComfyUI menu system
|
||||
+ Places nodes with intelligent collision avoidance so it will not overlap existing ones
|
||||
+ Real time search and filtering off nodes to adda
|
||||
+ Added the Endless 🌊✨ Minimap, which shows the current workflow landscape in a floating map
|
||||
+ Colour coded nodes by category
|
||||
+ Click on any node in the map to jump to it
|
||||
+ Respects window aspect ratio
|
||||
+ Places nodes with intelligent collision avoidance so it will not overlap existing ones
|
||||
+ Real time search and filtering off nodes to add
|
||||
+ Updated the Endless 🌊✨ Fontifier to allow for persistent state saving.
|
||||
|
||||
**UPDATE: JUL 18, 2025**
|
||||
|
||||
**Version 1.3 introduces the Endless 🌊✨ Fontifier, a little button on your taskbar that allows you to dynamically change fonts and sizes.**
|
||||
@@ -73,31 +91,115 @@ I am not a programmer, nor do I care to be. I have a fulltime job that eats up
|
||||
If you have issues, ask me **nicely** for help. Your tone matters; I'm too old and tired to pay attention to people who think I blew up their machines, and if how I react to you if you are difficult bothers you, some self-reflection is in order on your part. You are not "forthright" or "honest" or "direct", you're merely an ass if you think badgering people is justifiable to get what you want. The world has too many assholes, don't make me think you're another one.
|
||||
***
|
||||
|
||||
|
||||
## Button List
|
||||
|
||||
A helper script places a button on your task bar called "Endless 🌊✨ Tools":
|
||||
|
||||

|
||||
|
||||
**IF YOU DO NOT SEE IT, PRESS CTRL-ALT-E TO BRING UP A FLOATING TOOLBAR THAT CAN BE MOVED AROUND** This is the central toolbar that contains all the scripts I have made for this collection. Get rid of it by pressing the ESC key.
|
||||
|
||||
|
||||
### Endless 🌊✨ Node Spawner
|
||||
|
||||
I find that sometimes I need to create a few nodes for a workflow and creating them one at a time is painful for me. So, I made the Endless 🌊✨ Node Spawner. The spawner has a searchable, categorized interface that supports batch operations and maintains usage history for improved efficiency. Click the Endless 🌊✨ Tools button to bring up the floating toolbar and you should see a choice for "🌊✨ Node Spawner". Clicking it shows the dialog box below:
|
||||
|
||||

|
||||
|
||||
|
||||
The node spawner has the following features:
|
||||
|
||||
+ Hierarchical categorization of all available nodes
|
||||
+ Real-time search and filtering capabilities
|
||||
+ Search history with dropdown suggestions
|
||||
+ Batch node selection and spawning
|
||||
+ Intelligent collision detection for node placement
|
||||
+ Category-level selection controls
|
||||
+ Persistent usage tracking and search history
|
||||
|
||||
|
||||
Here's a quick overview of how to use the spawner:
|
||||
|
||||
+ Open the Node Loader from the Endless Tools menu
|
||||
+ Browse categories or use the search filter to find specific nodes
|
||||
+ Select nodes individually or use category selection buttons
|
||||
+ Review selections in the counter display
|
||||
+ Click Spawn Nodes to add selected nodes to your workflow
|
||||
+ Recently used nodes appear as clickable chips for quick access
|
||||
|
||||
Once you have made your selections and applied them, all the nodes you created will appear. How fast is it? My system can create 950 nodes in less than two seconds.
|
||||
|
||||

|
||||
|
||||
|
||||
### Endless 🌊✨ Minimap
|
||||
|
||||
When you have large workflows, it can be hard to keep tack of everything on the screen. The ComfyUI web interface does have a button to resize the nodes to your screen, but I thought a minimap would be of use to some people. The minimap displays a scaled overview of all nodes with visual indicators for the current viewport and support for direct navigation. Click the Endless 🌊✨ Tools button to bring up the floating toolbar and you should see a choice for "🌊✨ Minimap". Clicking it shows the dialog box below:
|
||||
|
||||
|
||||

|
||||
|
||||
The minimap has the following features:
|
||||
|
||||
+ Dynamic aspect ratio adjustment based on canvas dimensions
|
||||
+ Real-time viewport highlighting with theme-aware colors
|
||||
+ Interactive click-to-navigate functionality
|
||||
+ Zoom and pan controls for detailed exploration
|
||||
+ Color-coded node types with optional legend display
|
||||
+ Responsive resizing based on window dimensions
|
||||
+ Drag-and-drop repositioning of the minimap window
|
||||
|
||||
|
||||
Drag the box around by clicking and holding the title. To cancel, you can simply click outside the dialog box or press the escape key. With this dialog box, you can do the following:
|
||||
|
||||
+ Use the minimap to understand your workflow's overall structure
|
||||
+ Click anywhere on the minimap to jump to that location
|
||||
+ Click a node to jump to the node
|
||||
+ Use zoom controls (+/-) or mouse wheel for detailed viewing
|
||||
+ Toggle the legend (🎨) to identify node types by color
|
||||
|
||||
|
||||
The drag bar has the following icons:
|
||||
|
||||
|
||||

|
||||
|
||||
The icons correspond to:
|
||||
|
||||
🎨 Toggle legend
|
||||
▫ Zoom out
|
||||
🏠 Reset zoom and pan
|
||||
⬜ Zoom in
|
||||
❌ Close minimap
|
||||
|
||||
When you zoom in to the minimap, you can see the labels of the nodes as well, like shown below. The minimap should also change shape to respect the browser window shape, and works with ComfyUI themes.
|
||||
|
||||

|
||||
|
||||
|
||||
### Endless 🌊✨ Fontifier
|
||||
|
||||
I always found it odd that in the early days of ComfyUI, you could not change the font size for various node elements. Sure you could manually go into the CSS styling in a user file, but that is not user friendly. Later versions have allowed you to change the widget text size, but that's it. Yes, you can zoom in, but... now you've lost your larger view of the workflow. If you have a 4K monitor and old eyes, too bad so sad for you. This javacsript places a button on your task bar called "Endless 🌊✨ Fontifier". Clicking it shows the dialog box below:
|
||||
I always found it odd that in the early days of ComfyUI, you could not change the font size for various node elements. Sure you could manually go into the CSS styling in a user file, but that is not user friendly. Later versions have allowed you to change the widget text size, but that's it. Yes, you can zoom in, but... now you've lost your larger view of the workflow. If you have a 4K monitor and old eyes, too bad so sad for you. Click the Endless 🌊✨ Tools button to bring up the floating toolbar and you should see a choice for "🌊✨ Fontifier". Clicking it shows the dialog box below:
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
Drag the box aronud by clicking and holding the title. To cancel, you can simply click outside the dialog box or press the escape key. With this dialog box, you can do the following:
|
||||
Drag the box around by clicking and holding the title. To cancel, you can simply click outside the dialog box or press the escape key. With this dialog box, you can do the following:
|
||||
|
||||
+ Globally change the font size for all text elements
|
||||
+ Change the fonts themselves
|
||||
+ Instead of a global change, select various elements to resize
|
||||
+ Adjust the higher of the title bar or connectors and other input areas
|
||||
+ Adjust the height of the title bar or connectors and other input areas
|
||||
+ Save the current state for persistent use, or revert to ComfyUI defaults
|
||||
|
||||
|
||||
Once you make your changes, you can preview them and then choose to apply or cancel. Changed your mind? Load the box again and press the reset key.
|
||||
Once you make your changes, you can preview them and then choose to apply or cancel. Changed your mind? Load the box again and press the reset key. You can also save your settings for persistent use.
|
||||
|
||||

|
||||
|
||||
|
||||
**NOTE: There is a few bugs still where the changes don't respect the preview or reset buttons, instead they are applied immediately. I'll fix these issues soon.**
|
||||
|
||||
## Node List
|
||||
|
||||
### Batch Multiprompt Node for SD, SDXL, and FLUX
|
||||
|
||||
Reference in New Issue
Block a user