Added name and size attributes when writing to GEXF