Function spanGrid

  • Span a grid representing an equal temperament with the given steps as vertices.

    Parameters

    • steps: number[]

      Equally tempered scale degrees to feature in the graph.

    • options: GridOptions

      Options for connecting scale degrees and calculating gridlines.

    Returns {
        edges: Edge[];
        vertices: MultiVertex[];
    }

    Vertices and edges of the graph.