11import { app } from "/scripts/app.js" ;
22
33const COLOR_THEMES = {
4- segment : { nodeColor : "#222e40" , nodeBgColor : "#364254" , width : 320 } ,
5- utility : { nodeColor : "#2e3e57" , nodeBgColor : "#4b5b73" } ,
4+ segment : { nodeColor : "#222e40" , nodeBgColor : "#364254" , width : 340 } ,
5+ utility : { nodeColor : "#2e3e57" , nodeBgColor : "#4b5b73" , width : 320 } ,
66} ;
77
88const NODE_COLORS = {
99 // Segmentation nodes
1010 "RMBG" : "segment" ,
1111 "Segment" : "segment" ,
12+ "SegmentV2" : "segment" ,
1213 "FaceSegment" : "segment" ,
1314 "ClothesSegment" : "segment" ,
1415 "BodySegment" : "segment" ,
@@ -29,9 +30,10 @@ const NODE_COLORS = {
2930 "AILab_MaskExtractor" : "utility" ,
3031 "AILab_ImageStitch" : "utility" ,
3132 "AILab_ImageCrop" : "utility" ,
32- "AILab_ImageCropObject" : "utility" ,
3333 "AILab_ICLoRAConcat" : "utility" ,
34+ "AILab_CropObject" : "utility" ,
3435 "AILab_ImageCompare" : "utility" ,
36+ "AILab_ColorInput" : "utility" ,
3537} ;
3638
3739function setNodeColors ( node , theme ) {
@@ -61,4 +63,4 @@ const ext = {
6163 }
6264} ;
6365
64- app . registerExtension ( ext ) ;
66+ app . registerExtension ( ext ) ;
0 commit comments