Masked Attention is All You Need for Graphs