Function linkRadial

  • Constructs a new default link generator with radial tangents, for example, to visualize links in a tree diagram rooted in the center of the display.

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

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

  • Constructs a new link generator with radial tangents, for example, to visualize links in a tree diagram rooted in the center 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 LinkRadial<any, LinkDatum, NodeDatum>

  • Constructs a new link generator with radial tangents, for example, to visualize links in a tree diagram rooted in the center 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 LinkRadial<This, LinkDatum, NodeDatum>