|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Custom.Types as TypeNodes |
|
|
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Debug.Debug as DebugNodes |
|
|
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Functions.Converters as ConvNodes |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Functions.GetSizes as GetSizes |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Functions.Random as RandNodes |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Functions.Tuples as TupleNodes |
|
|
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Math.SimpleMath as SMath |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Math.Trigonometry as TMath |
|
|
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Modded.StandardInputs.Images as St_ImageNodes |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Modded.StandardInputs.Latents as St_LatentNodes |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Modded.StandardInputs.Condotionig as St_CondNodes |
|
|
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Modded.TuplesUsed.Latents as Tu_LatentNodes |
|
import custom_nodes.Derfuu_ComfyUI_ModdedNodes.Nodes.Modded.TuplesUsed.Conditioning as Tu_CondNodes |
|
|
|
|
|
NODE_CLASS_MAPPINGS = { |
|
"Float": TypeNodes.FloatNode, |
|
"Integer": TypeNodes.IntegerNode, |
|
"Text": TypeNodes.StringNode, |
|
"Text box": TypeNodes.MultilineStringNode, |
|
|
|
|
|
"Float debug print": DebugNodes.DebugNodeFloat, |
|
"Int debug print": DebugNodes.DebugNodeInt, |
|
"Tuple debug print": DebugNodes.DebugNodeTuple, |
|
"String debug print": DebugNodes.DebugNodeString, |
|
|
|
"Random": RandNodes.RandomValue, |
|
|
|
"Tuple": TupleNodes.Tuple, |
|
"Int to tuple": TupleNodes.Int2Tuple, |
|
"Tuple to floats": TupleNodes.Tuple2Float, |
|
"Tuple to ints": TupleNodes.Tuple2Int, |
|
"Tuple swap": TupleNodes.FlipTuple, |
|
|
|
"Int to float": ConvNodes.Int2Float, |
|
"Ceil": ConvNodes.CeilNode, |
|
"Floor": ConvNodes.FloorNode, |
|
"Absolute value": ConvNodes.ABSNode, |
|
|
|
"Get latent size": GetSizes.GetLatentSize, |
|
"Get image size": GetSizes.GetImageSize, |
|
|
|
"Sum": SMath.SumNode, |
|
"Subtract": SMath.SubtractNode, |
|
"Multiply": SMath.MultiplyNode, |
|
"Divide": SMath.DivideNode, |
|
"Power": SMath.PowNode, |
|
"Square root": SMath.SquareRootNode, |
|
|
|
"Sinus": TMath.SinNode, |
|
"Cosines": TMath.CosNode, |
|
"Tangent": TMath.tgNode, |
|
|
|
|
|
|
|
"Latent Scale by ratio": St_LatentNodes.LatentScale_Ratio, |
|
"Latent Scale to side": St_LatentNodes.LatentScale_Side, |
|
"Image scale by ratio": St_ImageNodes.ImageScale_Ratio, |
|
"Image scale to side": St_ImageNodes.ImageScale_Side, |
|
"Conditioning area scale by ratio": St_CondNodes.ConditioningAreaScale_Ratio, |
|
|
|
|
|
|
|
"ConditioningSetArea with tuples": Tu_CondNodes.ConditioningSetArea, |
|
"LatentComposite with tuples": Tu_LatentNodes.LatentComposite, |
|
} |
|
|