Learning chords in isolation is useful, but learning chords in relation to common chord progressions is much better.
These diatonic ii-V-I progressions are composed of four-string 7th chords grouped by the closest inversions on the neck.
By retaining common tones smooth voice leading is ensured.
I have intentionally omitted fret numbers to stress the mobility of the shapes.