Nice, I hacked together something similar many moons ago, it looks like some fine folks have kept on maintaining and improving it: https://github.com/fschulze/sqlalchemy_schemadisplay
Useful to have in a CICD pipeline so you always have an up-to-date schema diagram available.