Hello,
I’m wanting to use the fromSpot and toSpot properties of a Node on a Group. They work beautifully on my node template, but not on either of my group templates. The Documentation says that Group inherits those properties from Node, so I would assume them to work in an identical manner.
Here is a clipping of my group template:
$go(go.Group, "Auto",
{
//layout: $go(go.GridLayout,
// {
// wrappingWidth: Infinity, alignment: go.GridLayout.Position,
// cellSize: new go.Size(1, 1), spacing: new go.Size(4, 4)
// }),
isSubGraphExpanded: false,
mouseDragEnter: (e, grp, prev) => { this.highlightGroup(e, grp, true); },
mouseDragLeave: (e, grp, next) => { this.highlightGroup(e, grp, false); },
computesBoundsAfterDrag: true,
subGraphExpandedChanged: (g) => { g.category = "EXPANDED"; },
// when the selection is dropped into a Group, add the selected Parts into that Group;
// if it fails, cancel the tool, rolling back any changes
mouseDrop: this.finishDrop,
fromSpot: go.Spot.RightSide,
toSpot: go.Spot.LeftSide
}
EDIT: I got over-zealous in my clicking. I forgot to thank you in advance for your help! Thanks!