My understanding of dbt is that it builds a DAG based on the interdepencies between models. The interdepencies are parsed from 'ref' functions on the SQL files. The thing with dbt is that you transform the data within a single data warehouse.
So, you would normally first load all data to the data warehouse. Then dependencies between SQL models are easier to map.