Refs #4077, fixed some bugs and make sure enough nodes are displayed in a treemap graph.