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

This PR adds ability to align ports with assignment line in code block nodes.
Set 'portIndex' to 0 by default.