Wire- straight lines instead of curvy lines

#1

Is there an option to change the wire (connector) to be of of straight line and not curvy line which is default. Please do let me know which file should be worked upon for this in node red

0 Likes

#2

Hi @mvidhya86 - there are no options available to customise the appearance of the wire.

If you wanted to make a customised version of Node-RED with straight wires, then the generateLinkPath function is what you'd want to change: https://github.com/node-red/node-red/blob/a6ef755139613a7261372c692189f21115b2d0c6/editor/js/ui/view.js#L467

0 Likes