Customized group with geo string

I m trying to create a customized Group which will act like Container for Smaller things.Is it possible to add geometry string to the Group like the group is actually Rectangle divided into two parts by a mid-line?

Sure, your Group template can include whatever Shape or Shapes you want.

Any relevant link to demonstrate ?

https://gojs.net/latest/intro/shapes.html
https://gojs.net/latest/intro/panels.html
https://gojs.net/latest/intro/nodes.html