This commit is contained in:
Nathan Bierema 2022-12-31 19:43:37 -05:00
parent be71309bc3
commit bdf076030a

View File

@ -355,8 +355,11 @@ export default function (
// path generator for links
const linkHorizontal = d3
.linkHorizontal<
{ source: NodePosition; target: NodePosition },
NodePosition
{
source: { x: number; y: number };
target: { x: number; y: number };
},
{ x: number; y: number }
>()
.x((d) => d.x)
.y((d) => d.y);