Fixing Toggle View and not constructing graph for more than 200 nodes