GoJS API
/ to search
    Preparing search index...

    Enumeration TreeSorting

    This enumeration specifies whether to sort the children of a node, and in what order to position them. Used for TreeLayout.sorting or TreeLayout.alternateSorting.

    since

    3.0

    Index

    Enumeration Members

    Enumeration Members

    Ascending: 12

    Lay out each child according to the sort order given by TreeVertex.comparer.

    Descending: 13

    Lay out each child in reverse sort order given by TreeVertex.comparer.

    Forwards: 10

    Lay out each child in the order in which they were found.

    Reverse: 11

    Lay out each child in reverse order from which they were found.