diff --git a/__init__.py b/__init__.py index e50d074..a640252 100644 --- a/__init__.py +++ b/__init__.py @@ -3,7 +3,7 @@ from .nodes.converter import ETATOI, ETITOA from .nodes.formatter import ETTextFormatter2Node, ETTextFormatter5Node, ETTextFormatter10Node from .nodes.replacer import ETReplaceTextNode -et_nodes = { +et_nodes = [ ("Split Text", ETSplitTextNode), ("Join Text", ETJoinTextNode), @@ -15,7 +15,7 @@ et_nodes = { ("Text Formatter (10 Arguments)", ETTextFormatter10Node), ("Text Replacer", ETReplaceTextNode), -} +] NODE_CLASS_MAPPINGS = {cls.__name__: cls for display_name, cls in et_nodes} NODE_DISPLAY_NAME_MAPPINGS = {cls.__name__: display_name for display_name, cls in et_nodes} diff --git a/nodes/combiner.py b/nodes/combiner.py index 9ad7861..d41fb61 100644 --- a/nodes/combiner.py +++ b/nodes/combiner.py @@ -16,7 +16,7 @@ class ETSplitTextNode: RETURN_NAMES = ("text",) OUTPUT_IS_LIST = (True,) - CATEGORY = "exectails" + CATEGORY = "exectails/Strings" FUNCTION = "process" def process(self, text: str, split_by: str) -> tuple: @@ -44,7 +44,7 @@ class ETJoinTextNode: RETURN_NAMES = ("text",) INPUT_IS_LIST = True - CATEGORY = "exectails" + CATEGORY = "exectails/Strings" FUNCTION = "process" def process(self, text: list, join_with: str, prefix: str, suffix: str) -> tuple: diff --git a/nodes/converter.py b/nodes/converter.py index baddfc4..9cfac9e 100644 --- a/nodes/converter.py +++ b/nodes/converter.py @@ -14,7 +14,7 @@ class ETATOI: RETURN_TYPES = ("INT",) RETURN_NAMES = ("integer",) - CATEGORY = "exectails" + CATEGORY = "exectails/Strings" FUNCTION = "process" def process(self, text: str) -> tuple: @@ -37,7 +37,7 @@ class ETITOA: RETURN_TYPES = ("STRING",) RETURN_NAMES = ("text",) - CATEGORY = "exectails" + CATEGORY = "exectails/Strings" FUNCTION = "process" def process(self, integer: int) -> tuple: diff --git a/nodes/formatter.py b/nodes/formatter.py index a26aa81..d4012ab 100644 --- a/nodes/formatter.py +++ b/nodes/formatter.py @@ -7,7 +7,7 @@ class ETTextFormatterNode: RETURN_TYPES = ("STRING",) RETURN_NAMES = ("text",) - CATEGORY = "exectails" + CATEGORY = "exectails/Strings" FUNCTION = "process" def process(self, format, arg0="", arg1="", arg2="", arg3="", arg4="", arg5="", arg6="", arg7="", arg8="", arg9="") -> tuple: diff --git a/nodes/replacer.py b/nodes/replacer.py index 69a239c..423704c 100644 --- a/nodes/replacer.py +++ b/nodes/replacer.py @@ -20,7 +20,7 @@ class ETReplaceTextNode: RETURN_TYPES = ("STRING",) RETURN_NAMES = ("text",) - CATEGORY = "exectails" + CATEGORY = "exectails/Strings" FUNCTION = "process" def process(self, text: str, replace: str, replacement: str, mode: str) -> tuple: