Fdim7 is made of these notes: F (root), Ab (minor third), Cb (diminished fifth), Ebb (diminished seventh).
With this shape the strings sound like this, from the G string to the E string: Ab, Ebb, Cb, F.
The diminished seventh chord is made only of minor thirds. That’s why it sounds the same when you move it three frets – handy as a passing chord.