write node labels after node and border