I found a similar question for SQL Server Management Studio. But I use latest Azure Data Studio on macOS. We use on-premises SQL Server (not Azure cloud).
How can I use Azure Data Studio to generate an ERD from an existing database?
Azure Data Studio doesn't have database diagramming built in. (That feature has also been deprecated from SQL Server Management Studio 18, also.)
This means you're asking a shopping question, and here's how and where to ask a shopping question.