private SampleVertex locateService(Map<Class<?>, SampleVertex> pluginToVertices,
			Class<?> serviceClass) {

		Object service = tool.getService(serviceClass);
		if (service == null) {
			// must have a service that is not installed
			return null;
		}

		SampleVertex v = pluginToVertices.get(service.getClass());
		return v;
	}
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