private static void zoomToMatch(final IAddress primaryAddress, final BinDiffGraph<?, ?> graph) {
    ZyGraphNode<?> node = null;
    if (graph instanceof SingleGraph) {
      node = GraphAddressSearcher.searchAddress((SingleGraph) graph, primaryAddress);
    } else if (graph instanceof CombinedGraph) {
      node =
          GraphAddressSearcher.searchAddress((CombinedGraph) graph, ESide.PRIMARY, primaryAddress);
    }
    if (node != null) {
      GraphZoomer.zoomToNode(graph, node);
    }
  }
Loads call graphs into a new view.
java/ui/src/main/java/com/google/security/zynamics/bindiff/project/diff/CallGraphViewLoader.java