Text this: Transforming graph states via Bell state measurements