public void onUpdate() {
			final MethodMember methodInfo = currentMethod.get();
			if (methodInfo == null) {
				setRoot(null);
			} else {
				CompletableFuture.supplyAsync(() -> {
					while (!callGraph.isReady().getValue()) Unchecked.run(() -> Thread.sleep(100));
					return buildCallGraph(methodInfo, mode.childrenGetter);
				}).thenAcceptAsync(root -> {
					root.setExpanded(true);
					setRoot(root);
				}, FxThreadUtil.executor());
			}
		}
Cell of a class in the hierarchy.
recaf-ui/src/main/java/software/coley/recaf/ui/control/graph/MethodCallGraphPane.java