Save as... > TGF
The file format seems to be a list of (node id, node label), followed by a single hash, and a list of edges (source id, target id, edge label). Beware though, that yEd exports groups as regular nodes, swallowing everything inside if they are closed