Files
fls-eugene-ComfyUI_TextRand…/__init__.py
T
2026-07-17 00:31:36 +02:00

32 lines
1.3 KiB
Python

WEB_DIRECTORY = "./web"
# Import all independent node files safely
from .console_log import ConsoleLogNode
from .execution_delay import ExecutionDelayNode
from .file_loader import WildcardFileLoaderNode
from .randomizer import MultilineRandomChanceNode
from .text_concatenator import TextConcatenator4Node, TextConcatenator8Node
from .text_tag_replacer import TextRandomReplacerNode
NODE_CLASS_MAPPINGS = {
"MultilineRandomChanceNode": MultilineRandomChanceNode,
"ConsoleLogNode": ConsoleLogNode,
"TextRandomReplacerNode": TextRandomReplacerNode,
"WildcardFileLoaderNode": WildcardFileLoaderNode,
"ExecutionDelayNode": ExecutionDelayNode,
"TextConcatenator4Node": TextConcatenator4Node,
"TextConcatenator8Node": TextConcatenator8Node, # New mapping
}
NODE_DISPLAY_NAME_MAPPINGS = {
"MultilineRandomChanceNode": "🎲 Weighted Multiline Randomizer",
"ConsoleLogNode": "🖥️ Log to Console",
"TextRandomReplacerNode": "🏷️ Text Random Replacer",
"WildcardFileLoaderNode": "📂 Wildcard File Loader",
"ExecutionDelayNode": "⏳ Execution Delay",
"TextConcatenator4Node": "🧩 Text Concatenator (4-Way)",
"TextConcatenator8Node": "🧱 Text Concatenator (8-Way)", # New visual display label
}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]