It is always handy to have a map before you leave; here is the Shanghia subway, as it is today. The subway and line construction program in China is incredible, all the major cities are adding tunnels and lines to their subways, sometimes it is hard to produce up to date material.
Here is the latest edition of my China Travel Maps Shanghai; I hope it will be helpful.
Shanghai City info, here also is a detailed Shanghai City Map