private void showFilterDialog() {

		if (vertexFilters == null) {
			Msg.showWarn(this, null, "No Graph", "Can't set filters with no graph present!");
			return;
		}
		FilterDialog dialog =
			new FilterDialog(vertexFilters.getButtons(), edgeFilters.getButtons());
		componentProvider.getTool().showDialog(dialog);
	}
Gather all source and target vertices until there are no more available.
@return all the vertices in the component(s) of the selected vertices
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphDisplay.java