Apache NiFi offers labels to enable a developer to write information about the components present in the NiFI canvas. The leftmost icon in the top menu of NiFi UI is used to add the label in NiFi canvas.
A developer can change the color of the label and the size of the text with a right-click on the label and choose the appropriate option from the menu.