Function linkHorizontal

  • Shorthand for d3.link with d3.curveBumpX; suitable for visualizing links in a tree diagram rooted on the left edge of the display.

    With the default settings the link generator accepts a link object conforming to the DefaultLinkObject interface.

    Returns Link<any, DefaultLinkObject, [number, number]>

  • Shorthand for d3.link with d3.curveBumpX; suitable for visualizing links in a tree diagram rooted on the left edge of the display.

    Important: Ensure that the accessor functions are configured to work with the link and node datum types specified in the generics.

    The first generic corresponds to the datum type of the link object for which the link is to be generated.

    The second generic corresponds to the datum type of the source/target node contained in the link object.

    Type Parameters

    • LinkDatum

    • NodeDatum

    Returns Link<any, LinkDatum, NodeDatum>

  • Shorthand for d3.link with d3.curveBumpX; suitable for visualizing links in a tree diagram rooted on the left edge of the display.

    Important: Ensure that the accessor functions are configured to work with the link and node datum types specified in the generics.

    The first generic corresponds to the type of the "this" context within which the link generator and its accessor functions will be invoked.

    The second generic corresponds to the datum type of the link object for which the link is to be generated.

    The third generic corresponds to the datum type of the source/target node contained in the link object.

    Type Parameters

    • This

    • LinkDatum

    • NodeDatum

    Returns Link<This, LinkDatum, NodeDatum>