set edge weight to evcent