If the value is a string, that is used as the label.Īs mentioned in a previous section, there is a convention for nodes to have a ![]() It can be set dynamically on a per-node basis according to the properties of the node. The label of a node in the workspace can either be a static piece of text, or There are four label properties of a node label, paletteLabel, outputLabel and inputLabel. Here are some of the commonly used colours: New nodes should try to find a colour that It is specified by the color property in the node definition. The node background colour is one of the main ways to quickly distinguish different For example, the ui_button node of node-red-dashboard. Note: If a node has an icon property in its defaults object, its iconĬannot be customised. Individual node icons can be customised by the user within the editor on the ‘appearance’ To specify a FA icon, the property should take the form. Node-RED includes the full set of Font Awesome 4.7 icons. The icon should be white on a transparent background, with a 2:3 aspect ratio, with a minimum of 40 x 60 in size. Because of this, the icon filename must be unique. These directories get added to the search path when the editor Custom iconĪ node can provide its own icon in a directory called icons alongside its. Swap any request for the png version for the SVG version if it is available. To ensure backward compatibility, the editor will automatically Note: In Node-RED 1.0, all of these icons have been replaced with SVG alternativesįor a better appearance.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |