diagram class, diagram part