Coder Social home page Coder Social logo

Default size reroute about rgthree-comfy HOT 4 CLOSED

alexbofa avatar alexbofa commented on August 14, 2024 3
Default size reroute

from rgthree-comfy.

Comments (4)

rgthree avatar rgthree commented on August 14, 2024 3

Ah, that's cool!

Alright, added the ability to define some defaults in the config json file.

You can create a rgthree_config.json file at comfyui/custom_nodes/rgthree-comfy/rgthree_config.json (or, copy the rgthree_config.json.default file to rgthree_config.json) and you can define some defaults for reroute there. You'll need to restart ComfyUI for the config to load.

{
  "nodes": {
    "reroute": {
      "default_width": 40,
      "default_height": 30,
      "default_resizable": false,
      "default_layout": ["Left", "Right"]
    }
  }
}

from rgthree-comfy.

rgthree avatar rgthree commented on August 14, 2024

What I usually do is copy + paste an existing reroute node that has the size and direction (or alt+drag an existing one to clone it).

I could expose a default in settings I suppose, but not without code changes.

from rgthree-comfy.

alexbofa avatar alexbofa commented on August 14, 2024

Yes, I've done that before too
From a pythongosssss has ComfyUI-Custom-Scripts a convenient function has appeared, choose reroute by default. I use yours, when you click on a point in the node with the middle mouse button, reroute appears, this is very convenient and quickly simplifies the work.

image

from rgthree-comfy.

alexbofa avatar alexbofa commented on August 14, 2024

Thank you! It's awesome

from rgthree-comfy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.