Force selection of a node

Hi,

In my current project with GoJS, you can add nodes to a group on click. However, when I click the group to add the new node, the group is being selected after creation of the node. Instead, the created node should be selected. I have tried using the standardMouseSelect() method of the Tool class, but can’t seem to get it to work as intended.

Any help would be appreciated a lot

Thanks in advance.

Call myDiagram.select ( …the newly created Node… )

Oh, it was that easy… Thanks!