constructor()

in src/models/Link.js [2:12]


  constructor(sourceNode, targetNode, freq) {
    this.source = sourceNode;
    this.target = targetNode;
    this.freq = freq;
    this.attachPoints = {
      x1: 0,
      y1: 0,
      x2: 1,
      y2: 1,
    };
  }