d3-dag
    Preparing search index...

    Function shapeTopBottom

    • a shape that aligns edges with the centered top or bottom of a node

      A link leaves from whichever of the two it heads toward.

      Useful with tweakShape.

      Parameters

      • center: readonly [number, number]
      • nodeSize: readonly [number, number]
      • start: readonly [number, number]
      • end: readonly [number, number]

      Returns [number, number] | undefined