private void initializeOptions() {
		ToolOptions options = tool.getOptions(ToolConstants.GRAPH_OPTIONS);
		options.addOptionsChangeListener(this);

		HelpLocation help = new HelpLocation(getName(), "Options");

		Options callGraphOptions = options.getOptions(NAME);
		fcgOptions.registerOptions(callGraphOptions, help);
		fcgOptions.loadOptions(callGraphOptions);
		provider.optionsChanged();
	}
Plugin to show a graph of function calls for a given function
Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/plugin/FunctionCallGraphPlugin.java