Is there a way to remove some of the images on the tree, su

Is there a way to remove some of the images on the
tree, such as the dot line between the + and -, as well as the lines for each
nodes under a branch?

The
tree lines images can be disabled by the next command:

                tree.enableTreeLines(false);

 

The
plus/minus images can be replaced with text equal to:

                tree.enableTextSigns(true);