Function square

  • Create square centered at origin

    Parameters

    • side: number = 1

      side length of the square

    Returns Diagram

    a Diagram object