24 lines
808 B
Python
24 lines
808 B
Python
from .nodes.helpers import DNLHBooleanToOther, DNLHIsGroupActive
|
|
|
|
__author__ = """DN2048"""
|
|
__email__ = "dn_dev@hotmail.com"
|
|
__version__ = "0.1"
|
|
|
|
# A dictionary that contains all nodes you want to export with their names
|
|
# NOTE: names should be globally unique
|
|
NODE_CLASS_MAPPINGS = {
|
|
"DNLHBooleanToOther": DNLHBooleanToOther,
|
|
"DNLHIsGroupActive": DNLHIsGroupActive
|
|
}
|
|
|
|
# A dictionary that contains the friendly/humanly readable titles for the nodes
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"DNLHBooleanToOther": "Boolean to Other",
|
|
"DNLHIsGroupActive": "Is Group Active"
|
|
}
|
|
|
|
WEB_DIRECTORY = "./web"
|
|
#nodes.EXTENSION_WEB_DIRS["comfyui-dn-little-helpers"] = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'web')
|
|
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
|