Created by: bingyanghuang
Rebase the #19585. @GaoWei8 You can test it with this PR. Pass for graph modification:
Before
After