a diagram of a beam