REACH-37 Align ports with assignment line in code block nodes

This PR adds ability to retrieve and send port position to a Flood client.
Extract this code to a separate method, that will allow us to call it from outside.