I’m trying to figure out how to update the position & angle of nodes within a group when the group itself rotates. Like, if i had a group with nodes, A, B and C that looked like the image on the left, then rotated the group 45 degrees, it should end up like the image on the right:
I’m pretty new to GoJS. Is there a built-in way to accomplish this or can somebody point to sample code? Overriding rotatingTool.rotate and getting the nodes in the group and the math to rotate a point around another point was all pretty straight forward but I can’t seem to get it all tied together.