Postgres as a Graph Database: (Ab)Using PgRouting (supabase.com)
pgRouting is a Postgres extension. It's often used for finding the “shortest path” between two locations, however it's a hidden gem in Postgres and can be used for basic graph functionality.