function countCrossings (G, orderA, orderB) {
  return (
    countBetweenCrossings(G, orderA, orderB) // +
    // countLoopCrossings(G, orderA, orderB)
  )
}
/**
 * Count the total number of crossings between 2 layers.
 *
 * This is the sum of the countBetweenCrossings and countLoopCrossings.
 *
 * @param {Graph} G - The graph.
 * @param {Array} orderA - List of node ids on left side.
 * @param {Array} orderB - List of node ids on right side.
 */
Count the total number of crossings between 2 layers.
This is the sum of the countBetweenCrossings and countLoopCrossings.

@param {Graph} G - The graph.
@param {Array} orderA - List of node ids on left side.
@param {Array} orderB - List of node ids on right side.
Count the total number of crossings between 2 layers . This is the sum of the countBetweenCrossings and countLoopCrossings . @param { Graph } G - The graph . @param { Array } orderA - List of node ids on left side . @param { Array } orderB - List of node ids on right side .
function countCrossings (G, orderA, orderB) {
  return (
    countBetweenCrossings(G, orderA, orderB) 
  )
}
function countCrossings ( G , orderA , orderB ) { return ( countBetweenCrossings ( G , orderA , orderB ) ) }
Count the total number of crossings between 2 layers.
Count the total number of crossings between 2 layers .
// + // countLoopCrossings(G, orderA, orderB)