ComfyUI 18 How To Make 'Box' the Default Node Shape
ฝัง
- เผยแพร่เมื่อ 25 ม.ค. 2024
- Every time when you place a new node in a ComfyUI workflow it has round corners. What if you like the "Box" shape with the square corners to be the default? This video shows how:
1. Download JavaScript file box_shape_default from this Gdrive:
drive.google.com/drive/folder...
2 Move it to the ...\ComfyUI\web\extensions folder
3 Close and re-start ComfyUI
Some people seen unable to reach the js file on the GDrive. This is the code:
// Will make 'box' the default shape for new nodes.
// Save this file in the ..\ComfyUI\web\extensions folder.
import { app } from "../scripts/app.js";
app.registerExtension({
name: "alkemann.JustBoxes",
nodeCreated(node) {
node.shape = 1
}
}); - แนวปฏิบัติและการใช้ชีวิต
Need access permission to your Google Drive but I managed to create this JS file according to your video. Works great! Thanks for sharing this tip.
Thanks, I changed the text with the video and changed the download link, hoping it'll be easier now. Nice that you got it to work.
Thanks a lot!
TY