Unfortunately neither yEd nor yFiles (the software library upon which yEd is based) provide a GraphML comparison feature.
Strictly speaking, though, you can compare GraphML files with any text diff tool, because GraphML is a human-readable text format.