We have many routers and switches that have longer names and the ending of these names are not shown in OneClick and are truncated off.
This also causes a problem when we export the topology to PNG as you cannot tell which device is which because only the last few digits are different.
Router / Switches names not fully shown when you export in PNG, as the difference are the last characters i.e SW2 , SW3 , SW4 , if you cannot see the last characters you really do not know which is what.
Default Character Limit in OneClick is set to 95 characters.
Release : 21.2.x, 10.4.x,
Component : Spectrum OneClick
Copy the file $SPECROOT/tomcat/webapp/spectrum/WEB-INF/topo/config/default-iconlabel-config.xml to the $SPECROOT/custom/topo/config location and make these changes below
to a higher value
Close and open a new OneClick Client and you should see the longer names and now export should work as expected. If you have longer names then 140 characters, then use a higher value.
Here is another article on OneClick customization