Implemented property merge for duplicated vertices and edges.