Fix spelling mistake
Write out edge attributes