GML does not support custom properties and never will (GML is no longer actively developed).
If you actually meant GraphML and your files are intended to be used in yEd only, I suggest storing your Long numbers as text (i.e. attr.type="string"). After all, yEd does not offer much in the way of arithmetic operations for custom properties, so you do not loose much by storing as text instead of integral number.