How Can I Create a Markdown Graph?

How Can I Create a Markdown Diagram Like the One in the PostgreSQL Overview section outlining the sorting of ports?

https://app.dataquest.io/m/114/using-postgresql/2/postgresql-overview