Edim7 is made of these notes: E (root), G (minor third), Bb (diminished fifth), Db (diminished seventh).
With this shape the strings sound like this, from the g string to the D string: G, E, Bb, Db, E.
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.