private void askToNameGroupVertex(AttributedVertex vertex) {
		String name = vertex.getName();
		String userName =
			OptionDialog.showInputMultilineDialog(null, "Enter Group Vertex Text", "Text", name);

		updateVertexName(vertex, userName != null ? userName : name);
	}
create the action icon buttons on the upper-right of the graph display window
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphDisplay.java