William Nylander and John Tavares each had two goals and two assists and the Toronto Maple Leafs defeated the visiting Philadelphia Flyers 7-2 on Tuesday night.