Handle null strings when doing ellipsis
Use node name if label is undefined