@maxgraph/core
    Preparing search index...

    Function sortCells

    • Sorts the given cells according to the order in the cell hierarchy. Ascending is optional and defaults to true.

      Parameters

      • cells: Cell[]
      • ascending: boolean = true

      Returns Cell[]