add state labels to the layout rendering