prettier layout

adding horizontal linkages as well for pretty print