@Override
			public Dimension getPreferredSize() {
				Dimension preferredSize = super.getPreferredSize();
				int width = preferredSize.width;
				preferredSize.width = MathUtilities.clamp(width, width, maxWidth);
				return preferredSize;
			}
A {@link VisualVertex} implementation that provides a component with a docking header that 
is clickable.
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/vertex/DockingVisualVertex.java