We develop a model where institutions form connections through swaps of projects in order to diversify their individual risk. These connections lead to two different network structures. In a clustered network groups of financial institutions hold identical portfolios and default together. In an...