Add human-readable name support for custom nodes

This commit is contained in:
City
2023-03-31 07:05:17 +02:00
parent 6e2686e199
commit e3d748d912
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -84,3 +84,8 @@ class Example:
NODE_CLASS_MAPPINGS = {
"Example": Example
}
# A dictionary that contains the friendly/humanly readable titles for the nodes
NODE_DISPLAY_NAME_MAPPINGS = {
"Example": "Example Node"
}