score:1

Accepted answer

Link must be like that :

var dataLink = [{
      source: {
        id: 'january',
        start: 1,
        end: 12
      },
      target: {
        id: 'april',
        start: 18,
        end: 20
      }
    },
    {
      source: {
        id: 'february',
        start: 20,
        end: 28
      },
      target: {
        id: 'december',
        start: 1,
        end: 13
      }
    }
  ];

Plunker: https://plnkr.co/edit/lwY1kpYoxPMtYzaohckq?p=preview


Related Query

More Query from same tag