Since you asked for recommendations: Cacoo (https://nulab.com/cacoo/) has this function. You input your database schema SQL and it generates an editable diagram with all the relationships.
Disclaimer: I work for them. I’m the person who developed that feature.
Disclaimer: I work for them. I’m the person who developed that feature.
Feedback welcome!