Refined the layout algorithm to hide non-leaf nodes if all child leaf nodes are hidden. Updated error dashboard config