Gojs shapes for _treeExpandedFigure & _treeCollapsedFigure property

Hi There,

I have a requirement where I need to use + and - shapes (“MinusLine”, “PlusLine”) as a _treeExpandedFigure and _treeCollapsedFigure

I tried using it as below
image

but it is not at all showing any of the two shapes
image

I tried with other shapes and few of them works here(not all) like the below ones
image
I can see treeExpanderButtons as below
image

For my requirement I need these PlusLine and MinusLine shapes for tree expand and collapse.
Please advice how to resolve this issue.

Trying:

          $("TreeExpanderButton",
            { // customize the button's appearance
              "_treeExpandedFigure": "PlusLine",
              "_treeCollapsedFigure": "MinusLine"
            }),

and it seemed to work as I’d expect. So I’m not sure what’s going on here. Can you make a small reproduction case in Codepen or something? You can fork: https://codepen.io/simonsarris/pen/ORwoLr?editors=1010

Hi Simon,
Thanks for quick response. But after spending some time I was able to figure out the mistake I was doing. I was setting strokeWidth to 0 and I guess that is why I was not getting the stroke line for gojs shapes like PlusLine, MinusLine, CrossLine etc.
image

Its working for me now
image

Thank you :)