I want to set the BreadthLimit using datamodel but below code is not working:
like I used - new go.Binding(“breadthLimit”, “breadthLimit”)
Code:
myDiagram.groupTemplate =
(go.Group, "Auto",
{
layout: (go.TreeLayout,
{
breadthLimit: 700,
angle: 90,
arrangement: go.TreeLayout.ArrangementVertical,
sorting: go.TreeLayout.SortingReverse
},
new go.Binding(“breadthLimit”, “breadthLimit”)),
alignment: go.Spot.TopCenter,
computesBoundsAfterDrag: true,
computesBoundsIncludingLinks: false,
computesBoundsIncludingLocation: true
}