Improve performance of network graph

I think that loading network graph is as fast as that of 5.0.
And some minor bugs related to network graph is fixed.

fixes #3684
refs #3711