comment and refactor evaluationdiagrammfragment