Advancing Graph Neural Networks For Complex Data: A Perspective Beyond Homophily