drawTempLink method
This method is used to draw a temporary link between two points in the node editor.
Usually, this method is called when the user is dragging a link from a port to another port.
Emits a DrawTempLinkEvent event.
Implementation
void drawTempLink(FlLinkStyle style, Offset from, Offset to) {
_tempLink = TempLink(style: style, from: from, to: to);
// The temp link is treated differently from regular links, so we don't need to mark the links data as dirty.
eventBus.emit(DrawTempLinkEvent(id: const Uuid().v4(), from, to));
}