model for candidates occurrences graph