tahamajs/RR / Codes /frontend /node_modules /@plotly /d3-sankey /src /sankeyLinkHorizontal.js
tahamajs's picture
download
raw
291 Bytes
import {linkHorizontal} from "d3-shape";
function horizontalSource(d) {
return [d.source.x1, d.y0];
}
function horizontalTarget(d) {
return [d.target.x0, d.y1];
}
export default function() {
return linkHorizontal()
.source(horizontalSource)
.target(horizontalTarget);
}

Xet Storage Details

Size:
291 Bytes
·
Xet hash:
a4744304375f4910ab63534164a295ba7b0e330f8f67e80c1cdef8a40b39c7e6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.