@graphty/graphty-element / index / NeighborSort
Interface: NeighborSort ​
Defined in: graphty-element/src/session/types.ts:396
What a neighbor page is sorted by: its weight or its name, smallest first unless descending. The direction is absolute, whatever the weight means: the default order is { by: "weight", descending: true } for a strength and { by: "weight" } for a distance.
Properties ​
by ​
readonlyby:"name"|"weight"
Defined in: graphty-element/src/session/types.ts:397
descending? ​
readonlyoptionaldescending?:boolean
Defined in: graphty-element/src/session/types.ts:399
Largest first. Default false.