@Override
	protected String generateLabelText() {
		FcgOptions options = vertex.getOptions();
		boolean optionsUseTruncatedName = options.useTruncatedFunctionNames();
		String name = getName();
		if (optionsUseTruncatedName) {
			name = StringUtilities.trimMiddle(getName(), MAX_NAME_LENGTH);
		}
		return name;
	}
A vertex shape provider for the {@link FunctionCallGraphPlugin}.
Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/graph/FcgVertexShapeProvider.java