With the history and the information that you have provided it appears to be gravity dependent edema. Commonly seen in ppl who leave there legs hanging down for a long time or in those who do a lot of work standing. In particular if your kidney
and cardiac functions are normal you need not worry about the edema. I suggest you start wearing compression stockings which should take care of the swelling.