r'),
          new go.TextBlock({ margin: 2 }).bind('text', 'color')
        ),

      // Define the template for Links
      linkTemplate: new go.Link({
        fromSpot: HORIZONTAL ? go.Spot.Right : go.Spot.Bottom,
        toSpot: HORIZONTAL ? go.Spot.Left : go.Spot.Top
      })
        .add(
          new go.Shape()
        ),

      SelectionMoved: (e) => {
        e.subject.each((n) => {
          if (n instanceof go.Node) n.data.points = undefined;
        });
      },

      'animationManager.isEnabl