digrama classes model