Function arrow

  • Create an arrow from origin to a given point

    Parameters

    • v: Vector2

      the end point of the arrow

    • headsize: number = 1

      size of the arrow head

    Returns Diagram

    a Diagram object