Edges parsing