Davemane42's Custom Node for ComfyUI
Also available on Github
Instalation:
Download the .zip archive
extract
ComfyUI_Dave_CustomNodefolder toComfyUI/custom_nodes/Start ComfyUI
all require file should be downloaded/copied from there.
no need to manually copy/paste .js files anymore
MultiAreaConditioning 2.4:
Let you visualize the ConditioningSetArea node for better control
Right click menu to add/remove/swap layers
Display what node is associated with current input selected
Also come with a ConditioningUpscale node. useseful for hires fix workflow
MultiLatentComposite 1.1:
Let you visualize the MultiLatentComposite node for better control
Right click menu to add/remove/swap layers
Display what node is associated with current input selected
Description
more automated install / fixed index slider
FAQ
Comments (44)
I'm having issue with v2.3 multiAreaConditioning, when I load the simple image into ComfyUi and run it, I got this error message in the console: " File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Dave_CustomNode\MultiAreaConditioning.py", line 67, in doStuff
n[1]['strength'] = values[k][4]
IndexError: list index out of range".
I'm having the same issue
Ok, found the issue, if you used the old version before, just delete the node and put a fresh new one, it fixed the error for me
@zaadsatan Thanks, your fix works great.
I have the same problem, perhaps because I filled in tags that cannot be represented in the model, such as "look at the camera"
All of your new nodes work with this plug-in, except for the multi-area conditioning. I click on it in the sub-menu and nothing happens (although the other nodes in the sub-menu work fine). There's no error on the console, either. FYI, I just updated ComfyUI Portable last night.
did you use the old version?
I know some other people had an issues where they didnt delete the old files
MultiAreaConditioning.doStuff() missing 1 required positional argument: 'unique_id'
how to fix that?
this require ab updated version of ComfyUI
2.2 (OLD) works fine, but 2.3 will sometimes make the UI unresponsive when editing the node (no errors appear on cmd, but I lose the ability to edit existing node).
Any ideas on why this might be happening?
delete 2.2
@yepeisheng already did b4 updating to 2.3. That is not the problem. Refreshing the browser seems to solve it...
fixed the problem with 2.4, sometime the index slider would output really small values like 1.000000000054
@davemane42 Sir, how can I buy you a coffee?
Sooo your picture show different nodes than what i can create, like seed, the emptylatentimage with input/oupout for dimension to link to multiareaconditionning, no .json of workflow?
in recent version of ComfyUI you can right click on any nodes and convert any of the "widgets" to an input then you can connect them to i a primitive or double click on that link
@davemane42 That's what i was thinking of, im supposed to have the last one and didnt worked when i had tried, will try a lil later and get back to you, thanks for answering ! :)
I have a problem, I could solve it if I had access to the workflow where the screenshots were taken, or the screenshots themselves showed a big picture, I don't understand what to insert where
For a complete example, you can go to the Github link in the description and view the example image - https://github.com/Davemane42/ComfyUI_Dave_CustomNode/blob/main/images/MultiLatentComposite_workflow.svg
@RawB Would be easier to just upload the workflow.json file
i cant add MultiAreaConditioning node , Nothing happens after clicking add
Cannot import F:\ComfyUI_windows_portable\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_Dave_CustomNode module for custom nodes: cannot import name 'MAX_RESOLUTION' from partially initialized module 'nodes' (most likely due to a circular import) (F:\ComfyUI_windows_portable\ComfyUI_windows_portable\ComfyUI\nodes.py)
This does not install the javascript files correctly on Linux machines as you've hard-coded the paths to use \ directory separators, rather than letting os.path use the appropriate separator.
I believe __init__.py:14 should be:
extentions_folder = os.path.join(os.path.dirname(os.path.realpath(__main__.__file__)), "web", "extensions", "Davemane42")
As soon as I look at the multi lateral composite the entire ui freezes and becomes unresponsive. Issue doesn't happen with multiareaconditioning, only multi lateral composite. I've updated the custom node and the comfyui 4 times to no success. No issues in cmd the whole thing just freezes. Any fixes?
Same here
@dnb_maritime same here! So bummed!
Unable to read the length and width numbers generated from the image, only the parameters printed can be recognized. I am not sure if it can be fixed, which facilitates data association
Any chance you could upload a very simple workflow demonstrating these nodes? I fail to see what I'm supposed to connect them with.
Hi! Thank you for great nodes. But... It stopped working recently the MultiLatent/AreaConditioning doesn't show the square areas anymore :-( Ontly the top section inputs/outputs are visible. It used to work few weeks ago. Please, HELP! :-D
Just in case anyone stumbles upon this node, it's been abandoned for a long time and doesn't work anymore. I can't find a suitable replacement, so for now your best option may be using comfy's built in area conditioning nodes, though they are less convenient. You either have to define a box numerically or draw a separate mask for each area.
Impact Pack also has regional conditioning nodes, which are more powerful but complicated. With it, each region can use a different model and sampler, I think. It doesn't have a visual graph like this node though.
the visual graph is what makes this one so visually graphic
Some Heroes do not wear capes.
If the numerical box you referred to was Gligen, then there is a visual gui available for it now that someone has released recently: https://github.com/mut-ex/gligen-gui
Thank you. really helpful. Just found the workflow of conditioning nodes. fyi. But with no visual nodes, we need more more imagination and calculation. https://comfyanonymous.github.io/ComfyUI_examples/area_composition/#area-composition-with-anything-v3--second-pass-with-abyssorangemix2_hard
Thank you!!
Really helpful ! ! Following your reminder, I successfully completed this workflow with IMPACT PACK regional nodes !Thanks again!
@Laprascon Cool. Impact pack is good. I'm not sure if there are better ways now available, as I haven't kept up with new custom nodes.
Dave!! why did you abandon us!? :(
Need to be fixed a new update comfyUI please! Save us!
here found one i think :)
https://github.com/Fuwuffyi/ComfyUI-VisualArea-Nodes
composermn8888506
>This repository was archived by the owner on Jan 30, 2025. It is now read-only.
Welp...
Good news, it's available as a fork in the ComfyUI manager:
https://github.com/GegenDenTag/ComfyUI-multi-area-condition-node
works fine on linux, and windows for me, perhaps you are on a mac? Or maybe you did not install you dependencies?
damn bro you are SO genius
love from 2025




