Basic building blocks of a Graph neural network (GNN). ( 1 ) {\displaystyle (1)} Permutation equivariant layer. ( 2 ) {\displaystyle (2)} Local pooling layer. ( 3 ) {\displaystyle (3)} Global pooling (or readout) layer. Colors indicate features.