How can i assign a new node to "align left"?

The api appears to only have auto-layout alignment. if I want to make a new line align to each side of a rect - is there a way to do this without doing the math?