'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var index = require('../../../../d3-shape@1.3.7/node_modules/d3-shape/src/link/index.js');

function horizontalSource(d) {
  return [d.source.x1, d.y0];
}

function horizontalTarget(d) {
  return [d.target.x0, d.y1];
}

function d3SankeyLinkHorizontal() {
  return index.linkHorizontal()
      .source(horizontalSource)
      .target(horizontalTarget);
}

exports.default = d3SankeyLinkHorizontal;
