The parent widget can draw lines using those coordinates. That’s the gist. The actual implementation would depend on whether this needs to be dynamic. Perhaps you can just draw lines in Gimp / Photoshop / Paint and slap icons on top in the UMG.
And the easiest way to have it reported correctly in the editor is via Size Box. It should work run-time one way or another since the layout will be pre-passed.
This method does not work for cases where canvas is moved, i was experimenting with your given method and sadly nothing worked, then i tried out in c++ such method:
which basically given me almost same result as yours, but it moves with movement of canvas and zoom as well; thus said both methods are not correctly adding lines on the nodes:
alright, i figured out how to correctly draw a line, the only last issue that it is drawn on top of every UI widget/element…
I changed layer id of drawn lines, it still draws on one of the nodes and other under, as i can see it differs, so its unreliable to use for lines to make them under the nodes, what other solution there could be to make lines be under the nodes??