Type Alias PathFunction

PathFunction: (link: TreeLinkDatum, orientation: Orientation) => string

Returns the SVG path (the d attribute) that draws a link.

In a horizontal tree, x and y swap: a node's y is its horizontal position.

Type declaration