Theban kings in Greek mythology

The dynastic history of Thebes in Greek mythology is crowded with a bewildering number of kings between the city's new foundation (by Cadmus) and the Trojan War (see Ogyges). This suggests several competing traditions, which mythographers were forced to reconcile.