Hello,
I’ve got a problem binding points to save them into DB and parse them back into diagram.
Here is my binding for my link:
this.diagram.linkTemplateMap.add('ToApproval',
$(go.Link,
{
routing: go.Link.Normal,
curve: go.Link.Bezier,
reshapable: true,
resegmentable: true,
selectionAdorned: false,
selectable: true,
isLayoutPositioned: false,
isTreeLink: false,
curviness: -15,
cursor: 'pointer',
},
new go.Binding('points', 'points').makeTwoWay(),
$(go.Shape,
{
stroke: 'grey',
strokeWidth: 3,
strokeDashArray: [5, 5],
})));
My array looks like this:
Any idea what could i possibly doing wrong?
P.S. go-debug seems to not identify an error.