add routine to get current cursor pposition (to fix autocomplete in the middle of the input)
bezier connectors
draw connections on map