Do graph neural networks learn traditional jet substructure?