Add setEdgeAttribute

It enables attribute modifications of an edge with an specific id.