edema is not related to neuropathy (nerve pain). I would say the edema is related to your surgery.
If the edema is improving and is mild it may not be a big concern. Keep up with the raising your feet when sittting and being mobile.
If it does not ressolve may be worth bringing up with your dr.
Good blood sugar control is also important to healing. Keep your blood sugar as close to non-diabetic levels as possible (non diabetic levels are 70 - 120 range, all the time), with exercise, diet (lower carb works best), and medicatiions, if required.
This article may help you understand more about neuropathy symptoms and what you can do to prevent neuropathy from happening to you, even if you have diabetes.
Good luck with your recovery!