save/load nodeGraph's expanding property

avoid of the annoying automatically expanding when user revert
operation and open document.