draw boxes for nodes on the path.