A patient known to be affected by diabetes for a very long time is known to have swelling in the legs and ankles. The primary reason for swelling in a diabetic patient is obesity and poor circulation.