Following knee replacement surgery, the development of edema and swelling in the operation area is expected. This condition is typically localized only to the surgical site, rather than affecting the entire leg. The swelling and edema gradually subside within days after the operation and mostly resolve completely within 3 weeks.