yes the 'N' shape is caused by where the control points for that curve are placed. the api allows you to change that value when you make a connection; i think the yellow connection on the main demo just uses the default. but i do like the idea of the control points shifting as the distance between elements decreases. i might look into that.