Swelling would be because of lack of mobility, and sedentary lifestyle.
Check with your cardiologist once if you havent followed up with him since a long time.
Next Steps
Wear stockings, ankle toe movments, and elevate your legs over pillows in lying for 5 min. around 3-4 times.
Health Tips
keep good mobility throughtout the day.