Spaces:
Paused
Paused
Download node_modules/@plotly/d3-sankey/src/sankeyLinkHorizontal.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3-sankey/src/sankeyLinkHorizontal.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/d3-sankey/src/sankeyLinkHorizontal.js
-
curl -L -o sankeyLinkHorizontal.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3-sankey/src/sankeyLinkHorizontal.js
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); | |
| } | |