Function forceLink

  • Creates a new link force with the specified links and default parameters. If links is not specified, it defaults to the empty array.

    Type Parameters

    Parameters

    • Optional links: LinksDatum[]

    Returns ForceLink<NodeDatum, LinksDatum>