Files
magicoli-comfyui-oli-prompt…/examples/node_label.json
T
Olivier van Helden dce0484e4d fix lora_stack compat filtering, add example notes, fix docstrings
- Mega Lora Loader: incoming lora_stack entries are now filtered through
  the same compatibility check as local rows when a model is connected.
  Previously they were copied blindly into out_stack and applied without
  any check, so incompatible loras from a stack-builder node were silently
  applied regardless of the current model.
- Example workflows: added a Note node with usage instructions to each of
  the 5 example JSONs.
- Docstrings: "fork of" replaced with "inspired by" / "reimplementation of"
  in both lora_loader.py and prompt_line_pick.py.
2026-03-04 17:07:08 -04:00

62 lines
2.2 KiB
JSON

{
"last_node_id": 3,
"last_link_id": 1,
"nodes": [
{
"id": 1,
"type": "CheckpointLoaderSimple",
"pos": [200, 200],
"size": {"0": 315, "1": 98},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "MODEL", "type": "MODEL", "links": [1], "slot_index": 0},
{"name": "CLIP", "type": "CLIP", "links": [], "slot_index": 1},
{"name": "VAE", "type": "VAE", "links": [], "slot_index": 2}
],
"properties": {"Node name for S&R": "CheckpointLoaderSimple"},
"widgets_values": ["your_model.safetensors"]
},
{
"id": 2,
"type": "OliNodeLabel",
"pos": [580, 200],
"size": {"0": 260, "1": 90},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{"name": "node", "type": "*", "link": 1}
],
"outputs": [
{"name": "node", "type": "*", "links": [], "slot_index": 0},
{"name": "label", "type": "STRING", "links": [], "slot_index": 1}
],
"properties": {"Node name for S&R": "OliNodeLabel"},
"widgets_values": [1]
},
{
"id": 3,
"type": "Note",
"pos": [200, 40],
"size": {"0": 640, "1": 130},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {"text": "The Node Label node reads the title of the node connected to its input (depth=1 means direct parent).\n\nHere it reads the title of the CheckpointLoaderSimple and emits it as a STRING. The model value is passed through unchanged on the node output. Increase depth to travel further upstream — useful when you rename loader nodes to reflect the model they carry."},
"widgets_values": ["The Node Label node reads the title of the node connected to its input (depth=1 means direct parent).\n\nHere it reads the title of the CheckpointLoaderSimple and emits it as a STRING. The model value is passed through unchanged on the node output. Increase depth to travel further upstream — useful when you rename loader nodes to reflect the model they carry."]
}
],
"links": [
[1, 1, 0, 2, 0, "MODEL"]
],
"groups": [],
"config": {},
"extra": {"ds": {"scale": 1.0, "offset": [0, 0]}},
"version": 0.4
}