A diagram that shows the occurrence of a genetic trait in several generations of a family.