I want to change the color of this box part (from yellow to other colors…), but I can’t find the right part of the code inside the header node ( CSS Editor ).
Welcome to the KNIME Forum.
I’m not sure from which workflow this screenshot is exactly from, but the color of those boxes are changed in the Generic Java Script View. There should be something like this:
This is a similar component. You would first need to “Disconnect the Link”, so you are actually able to change the settings inside this component.
Then you open the Generic Java Script node. In line 158 you can see that the variable “yellow_string” is defined. You can add another variable with the color of your choice. For example var red_string = "rgb(255,0,0)"
From line 270 - 287 the node from the header is defined (see the screenshot from my first response). There you can also see the attribute “fill” being defined (marked by a green arrow in my screenshot). There you can simply replace yellow_string with your variable (red_string) you defined in line 158.
Again, I would recommend using our newly created verified component Data App Flowchart. It does exactly the same thing, but you would not need to go into the code to change the colours.