Support TestGraph's edge value.