add edge attribute from matrix,no change found