hope you are doing well
Can you check this website [login to view URL]
Enter username: mentalmodeler
1_When you press add new component it’s insert new node .. this node can be connect with other node for drawing purpose
2_assign group for each user exactly same as the website.. which you have to use json format .
I need exactly something same in the website I give you