Group template not respecting toSpot property

i just grabbed the latest version (1.7.21) to test some of your fixes and have discovered that my group template toSpot is no longer being used.

the group template specifies toSpot as go.Spot.LeftSide and worked in a previous version but now does not.

$(go.Group, "Auto", {
		selectable: false,
		isShadowed: true,
		shadowOffset: new go.Point(0, 1),
		shadowBlur: 5,
		shadowColor: "rgba(0, 0, 0, 0.34)",
		layout: $(go.GridLayout, {
			wrappingColumn: 1
		})},
	new go.Binding('isSubGraphExpanded', 'expanded'),

	$(go.Shape, "RoundedRectangle", {
			parameter1: 10,
			name: "SHAPE",
			portId: "",
			stretch: go.GraphObject.Fill,
			strokeWidth: 0,
			fromSpot: go.Spot.RightSide,
			toSpot: go.Spot.LeftSide,
			minSize: new go.Size(60, 0) },
	),

	// internal panel layer
	$(go.Panel, "Table", {
			shadowVisible: false,
			padding: new go.Margin(3, 5) },
		$(go.Picture, {
				row: 0,
				column: 0,
				source: imageSource,
				scale: 1 }
		),
		$(go.TextBlock, {
				row: 0,
				column: 1,
				margin: new go.Margin(0, 0, 0, 5) },
			new go.Binding('text', 'text')
		),
		$("SubGraphExpanderButton", {
				row: 0,
				column: 2,
				margin: new go.Margin(0, 5),
				minSize: new go.Size(18, 18)}
		),
		$(go.Placeholder, {
				row: 1,
				column: 0,
				columnSpan: 3,
				background: 'transparent',
				shadowVisible: false },
			new go.Binding('padding', 'isSubGraphExpanded', function(exp)
			{
				return exp ? 10 : 0;
			}).ofObject()
		)
	)
);

Which version had you been using? Are the Links connecting with member Nodes, and not directly with the Group? If so, did those member Nodes specify toSpot on their port(s), and to what values? Do the Links have their toSpot set or bound?

1.6.17

links are connecting to member nodes and not directly to the group. the members have toSpot on their ports set as go.Spot.Left. the links have no toSpot set. here is a render with 1.6.17:

using explicit values on the Link template and modifying other templates to be more specific seems to have resolved the issue. however this doesn’t explain why older versions work as expected and the newest version doesn’t.

We’ll investigate tomorrow.

Could you try the beta library that is at GoJS - Build Interactive Diagrams for the Web ? One way of doing so is to load the library from https://gojs.net/beta/release/go-debug.js. Thanks.

it appears that the beta resolves one of several display issues. the group template links are now properly attaching to the left side. however one of our node template’s fromSpot is not being respected. and the group template links are sometimes still not connecting directly to the group and off to nowhere instead.