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
    }
    });
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 4

  • @SilverVon-h6u
    @SilverVon-h6u 19 วันที่ผ่านมา

    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.

    • @rudyshobbychannel
      @rudyshobbychannel  19 วันที่ผ่านมา +1

      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.

  • @LenGin-qu6sd
    @LenGin-qu6sd 3 หลายเดือนก่อน

    Thanks a lot!

  • @canibalcorps
    @canibalcorps 3 หลายเดือนก่อน

    TY