Ostracod diagrams with labeled parts