Team graphs