Creating a DBML file from EntityFramework Core?

I am looking to create a DbDocs account, and to automatically link into our CI/CD flow to create and update a DBML file.

I’m finding it difficult to get information on how people create these diagrams, other than…manually. For anyone using .NET, is there a away to automatically create a DBML file from a DbContext? If not, what are the best practices or alternate approaches for creating DBML files automatically?