param match given diagram equal match diagram diagram evalu 