Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Diagonal

Type parameters

  • Link

  • Node

Hierarchy

  • Diagonal

Callable

  • __call(d: Link, i: number): string

Index

Methods

projection

  • projection(): function
  • projection(projection: function): Diagonal<Link, Node>
  • Returns function

      • (d: Node, i: number): [number, number]
      • Parameters

        • d: Node
        • i: number

        Returns [number, number]

  • Parameters

    • projection: function
        • (d: Node, i: number): [number, number]
        • Parameters

          • d: Node
          • i: number

          Returns [number, number]

    Returns Diagonal<Link, Node>

source

  • source(): function
  • source(source: Node): Diagonal<Link, Node>
  • source(source: function): Diagonal<Link, Node>

target

  • target(): function
  • target(target: Node): Diagonal<Link, Node>
  • target(target: function): Diagonal<Link, Node>

Generated using TypeDoc