undirected graph serialization.

a simple one cuz label is given.