diff --git a/__init__.py b/__init__.py index 2a3efbf..d50f062 100644 --- a/__init__.py +++ b/__init__.py @@ -55,7 +55,7 @@ sys.path.append('../..') from torchvision.datasets.utils import download_url # ensure .js -print("### Loading: ComfyUI-Manager (V0.22.4)") +print("### Loading: ComfyUI-Manager (V0.22.5)") comfy_ui_required_revision = 1240 comfy_ui_revision = "Unknown" diff --git a/custom-node-list.json b/custom-node-list.json index b29307c..1fb3b0f 100644 --- a/custom-node-list.json +++ b/custom-node-list.json @@ -1211,6 +1211,36 @@ "install_type": "git-clone", "description": "Nodes: BilboX's PromptGeek Photo Prompt. This provides a convenient way to compose photorealistic prompts into ComfyUI." }, + { + "author": "Girish Gopaul", + "title": "Save Image with Generation Metadata", + "reference": "https://github.com/giriss/comfy-image-saver", + "files": [ + "https://github.com/giriss/comfy-image-saver" + ], + "install_type": "git-clone", + "description": "All the tools you need to save images with their generation metadata on ComfyUI. Compatible with Civitai & Prompthero geninfo auto-detection. Works with png, jpeg and webp." + }, + { + "author": "shingo1228", + "title": "ComfyUI-send-Eagle(slim)", + "reference": "https://github.com/shingo1228/ComfyUI-send-eagle-slim", + "files": [ + "https://github.com/shingo1228/ComfyUI-send-eagle-slim" + ], + "install_type": "git-clone", + "description": "Nodes:Send Webp Image to Eagle. This is an extension node for ComfyUI that allows you to send generated images in webp format to Eagle. This extension node is a re-implementation of the Eagle linkage functions of the previous ComfyUI-send-Eagle node, focusing on the functions required for this node." + }, + { + "author": "shingo1228", + "title": "ComfyUI-SDXL-EmptyLatentImage", + "reference": "https://github.com/shingo1228/ComfyUI-SDXL-EmptyLatentImage", + "files": [ + "https://github.com/shingo1228/ComfyUI-SDXL-EmptyLatentImage" + ], + "install_type": "git-clone", + "description": "Nodes:SDXL Empty Latent Image. An extension node for ComfyUI that allows you to select a resolution from the pre-defined json files and output a Latent Image." + }, { "author": "taabata", "title": "Syrian Falcon Nodes", @@ -1432,16 +1462,6 @@ ], "install_type": "unzip", "description": "Various image processing nodes." - }, - { - "author": "Girish Gopaul", - "title": "Save Image with Generation Metadata", - "reference": "https://github.com/giriss/comfy-image-saver", - "files": [ - "https://github.com/giriss/comfy-image-saver" - ], - "install_type": "git-clone", - "description": "All the tools you need to save images with their generation metadata on ComfyUI. Compatible with Civitai & Prompthero geninfo auto-detection. Works with png, jpeg and webp." } ] } diff --git a/extension-node-map.json b/extension-node-map.json index c3a6953..9a888ff 100644 --- a/extension-node-map.json +++ b/extension-node-map.json @@ -1089,6 +1089,7 @@ "https://github.com/bash-j/mikey_nodes": [ [ "AddMetaData", + "Batch Crop Image", "Batch Resize Image for SDXL", "Empty Latent Ratio Custom SDXL", "Empty Latent Ratio Select SDXL", @@ -1099,13 +1100,15 @@ "Prompt With Style", "Prompt With Style V2", "Prompt With Style V3", + "Ratio Advanced", "Resize Image for SDXL", "Save Image With Prompt Data", "Save Images Mikey", + "Save Images No Display", "SaveMetaData", + "Seed String", "Style Conditioner", "Upscale Tile Calculator", - "VAE Decode 6GB SDXL (deprecated)", "Wildcard Processor" ], { @@ -1440,6 +1443,22 @@ "title_aux": "ComfyUI_tagger" } ], + "https://github.com/giriss/comfy-image-saver": [ + [ + "Cfg Literal", + "Checkpoint Selector", + "Int Literal", + "Sampler Selector", + "Save Image w/Metadata", + "Scheduler Selector", + "Seed Generator", + "String Literal", + "Width/Height Literal" + ], + { + "title_aux": "Save Image with Generation Metadata" + } + ], "https://github.com/guoyk93/yk-node-suite-comfyui": [ [ "YKImagePadForOutpaint", @@ -1886,6 +1905,22 @@ "title_aux": "smZNodes" } ], + "https://github.com/shingo1228/ComfyUI-SDXL-EmptyLatentImage": [ + [ + "SDXL Empty Latent Image" + ], + { + "title_aux": "ComfyUI-SDXL-EmptyLatentImage" + } + ], + "https://github.com/shingo1228/ComfyUI-send-eagle-slim": [ + [ + "Send Webp Image to Eagle" + ], + { + "title_aux": "ComfyUI-send-Eagle(slim)" + } + ], "https://github.com/shockz0rz/ComfyUI_InterpolateEverything": [ [ "OpenposePreprocessorInterpolate" diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 15e48fa..d95e671 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -1559,7 +1559,7 @@ app.registerExtension({ nodeType.prototype.onDrawForeground = function (ctx) { const r = onDrawForeground?.apply?.(this, arguments); - if(!this.flags.collapsed || badge_mode == 'none') { + if(!this.flags.collapsed && badge_mode != 'none') { let text = ""; if(badge_mode == 'id_nick') text = `#${this.id} `; @@ -1604,7 +1604,7 @@ app.registerExtension({ node.onDrawForeground = function (ctx) { const r = onDrawForeground?.apply?.(this, arguments); - if(!this.flags.collapsed || badge_mode == 'none') { + if(!this.flags.collapsed && badge_mode != 'none') { let text = ""; if(badge_mode == 'id_nick') text = `#${this.id} `; @@ -1636,6 +1636,13 @@ app.registerExtension({ ctx.fillStyle = fgColor; ctx.fillText(text, this.size[0]-sz.width-6, -LiteGraph.NODE_TITLE_HEIGHT - 6); ctx.restore(); + + ctx.save(); + ctx.font = "bold 14px sans-serif"; + const sz2 = ctx.measureText(node.type); + ctx.fillStyle = 'white'; + ctx.fillText(node.type, this.size[0]/2-sz2.width/2, this.size[1]/2); + ctx.restore(); } }