Added option to specify node positions.