Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7420

Link invalidates upon binding

$
0
0

@Gatix wrote:

I recently upgraded our GoJS version from 1.7.15 to the latest and I have encountered a weird bug.

I have this binding for my Link's points:

new go.Binding('points', 'linkPoints',
    (pointsArray) => {
      const points = pointsArray.map(go.Point.parse);
      const pointsList = new go.List(go.Point);
      return pointsList.addAll(points);
    },
  ).makeTwoWay(points => points.toArray().map(go.Point.stringify))

The issue is that the diagram invalidates the links's positions but it shouldn't be. I've tracked that this started since version 1.7.28.

Posts: 8

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7420

Trending Articles