Group Selection Adornment


#1

Hi,
The default selection adorerment for a group is “blue” rectangle".
I would like to change it to storke(“black”) and srtrokeWitdth(2), See attached sample code :


And the result is a black rectangle which is not sizeable.


See attach pics for collapsed group and expanded group


#2

Found the problem, had to add (go.PlaceHolder)…
Thanks


#3

That’s right. For anyone else reading this, please read https://gojs.net/latest/intro/selection.html#CustomSelectionAdornments


#4

OK,
Thanks