Model value of selected node

Hi, I try to get information from model when I have selected node dropped into groupTemplate:

$scope.model = new go.GraphLinksModel(
[
{“key”:“1”, “text”:“test”, isACar: true}
<span =“Apple-tab-span” style=“white-space:pre”> … ]

diagram.groupTemplate =
$(go.Group, HORIZONTAL ? “Horizontal” : “Vertical”,
{
<span =“Apple-tab-span” style=“white-space:pre”> …
<span =“Apple-tab-span” style=“white-space:pre”> …<span =“Apple-tab-span” style=“white-space:pre”>
<span =“Apple-tab-span” style=“white-space:pre”> …<span =“Apple-tab-span” style=“white-space:pre”>
<span =“Apple-tab-span” style=“white-space:pre”> mouseDrop: function (e, grp) {
<span =“Apple-tab-span” style=“white-space:pre”> console.log(grp.diagram.selection); how to get inforamtion isACar ???
<span =“Apple-tab-span” style=“white-space:pre”> } …
<span =“Apple-tab-span” style=“white-space:pre”> …

Thanks for any help.

Since the user might drag-and-drop multiple Parts at once, Diagram.selection is a collection. Read about iterating over collections at: http://gojs.net/latest/intro/collections.html. Also, you can search the examples.