Why are two diagrams the same instance? I hope they are different

when i use diagram.selection the first diagram.selection is null, the second diagram.selection can get a selected graphObject 。。。。why???