• Parameters

    • graph: FOLD

      a FOLD object, with vertices_coords, edges_vertices

    Returns ([number, number] | [number, number, number])[]

    each entry relates to an edge, each array contains a 2D vector

    Description

    Turn every edge into a vector, basing the direction on the order of the pair of vertices in each edges_vertices entry.