Browse Source

fix: badge bugfix

improve: show node name for missing nodes
update DB
pull/72/head
Dr.Lt.Data 1 year ago
parent
commit
86e28a1486
  1. 2
      __init__.py
  2. 40
      custom-node-list.json
  3. 37
      extension-node-map.json
  4. 11
      js/comfyui-manager.js

2
__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"

40
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."
}
]
}

37
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"

11
js/comfyui-manager.js vendored

@ -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();
}
}

Loading…
Cancel
Save