Group questions

Hi,

I have 2 questions about groups.

  1. Is there a way to drag and drop into a group? You can drag a node from the palette into the canvas, so would it be possible to drag a node from one group to another?

  2. Is it possible to specify a certain group as read only, so anything in the group can not be deleted or moved?

Thanks in advance for your help.

Yes, that’s easy. Take a look at the Regrouping sample, http://www.gojs.net/latest/samples/regrouping.html.

You can set Part.deletable and movable to false. Read about permissions at http://www.gojs.net/latest/intro/permissions.html.