ai-diagrams · Diagram examples · Sample fintechERD · overview · V1
■  Logical model · 4 schemas

Dependencies between schemas

Each cell counts columns in the row schema that point to a table in the column schema. These are FKs without reads: the database guarantees the row exists, and the service does not read the other table.
comumcadastrocontacobrancapoints to N schemas
comumshared reference data30
cadastroCustomer registration131
contaAccounts and transactions1142
cobrancaInvoices and receipts11283
used byhow many schemas point to it3210
Dark diagonal: how many tables the schema has. The total is 18.
Cell color: stronger means more referencing columns. The densest pair has 2 columns.
comum is referenced most: 3 schemas depend on it. cobranca has the most dependencies: it points to 3.
Each column, by schema pair
cadastro → comum 1
enderecos.pais_id → paises
conta → comum 1
contas.moeda_id → moedas
conta → cadastro 1
contas.cliente_id → clientes
cobranca → comum 1
faturas_cobranca.moeda_id → moedas
cobranca → cadastro 1
faturas_cobranca.cliente_id → clientes
cobranca → conta 2
faturas_cobranca.conta_id → contas
pagamentos_recebidos.conta_id → contas
Diagrams  ·  dependency matrix example  ·  2026-11