If someone does of a heart attack with diabetes 2 and had swollen legs from a fall, could that have been the cause?

Need more info. Heart attacks occur for multiple reasons. Diabetes can affect the coronary circulation and cause blockages. Swollen legs could indicate congestive heart failure or even blood clots in the legs which could travel to effect the lungs and the heart. Even bruising of the heart from a fall could set up abnormal heart rythms which might lead to a heart attack.