Add threshold control to callgraph.
Update the page and send threshold value to server.
Wire threshold setting up.
Reduce duplication.