Semi-automatic assessment of students' graph-based diagrams