Merge pull request #1 from Nan-Zhang/changjian/constraintGraph

new test
Merge branch 'changjian/constraintGraph'
class