Function invertAssignments

  • Parameters

    • graph: FOLD

      a FOLD object containing edges_assignment

    Returns FOLD

    the same FOLD object, modified in place.

    Description

    Given a fold graph, make all mountains into valleys and visa versa. This includes reversing the fold_angles.