Added support for preserving Cartesian coordinates.

Currently node positions are not preserved when re-scaling the graph. This patch lets Cartesian coordinates be preserved if specified.