A Unification Framework for Euclidean and Hyperbolic Graph Neural Networks