import { linkHorizontal } from '../../../../d3-shape@1.3.7/node_modules/d3-shape/src/link/index.mjs';

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

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

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

export { d3SankeyLinkHorizontal as default };
