While specific dietary changes may not directly impact lymph node swelling, maintaining a healthy diet overall can support your immune system and overall well-being.