private void doFilterGraph() {

		this.filterText = textField.getText();

		boolean remove = removedButton.isSelected();
		GraphViewer<SampleVertex, SampleEdge> viewer = view.getPrimaryGraphViewer();

		Predicate<SampleVertex> filter =
			v -> StringUtils.containsIgnoreCase(v.getName(), filterText);
		FilterVerticesJob<SampleVertex, SampleEdge> job =
			new FilterVerticesJob<>(viewer, graph, filter, remove);

		VisualGraphViewUpdater<SampleVertex, SampleEdge> updater = viewer.getViewUpdater();
		updater.scheduleViewChangeJob(job);
	}
A {@link ComponentProvider} that is the UI component of the {@link SampleGraphPlugin}.  This
shows a graph of the plugins in the system.
Ghidra/Extensions/sample/src/main/java/ghidra/examples/graph/SampleGraphProvider.java