Finished persistent diagram generation. Fixed zoom and move.