Package | com.yworks.yfiles.algo |
Class | public class Sorting |
Inheritance | Sorting YObject Object |
Method | Defined By | ||
---|---|---|---|
Sorting(init:Boolean = true) | Sorting | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | Sorting | ||
hashCode():int | YObject | ||
sortNodesByDegree(graph:Graph):Vector.<Object> [static]
Sort nodes by degree in ascending order
| Sorting | ||
[static]
Sort nodes by an integer key associated to each node through the given data provider. | Sorting |
Sorting | () | Constructor |
public function Sorting(init:Boolean = true)
init:Boolean (default = true )
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
sortNodesByDegree | () | method |
public static function sortNodesByDegree(graph:Graph):Vector.<Object>
Sort nodes by degree in ascending order
Parameters
graph:Graph |
Vector.<Object> |
sortNodesByIntKey | () | method |
public static function sortNodesByIntKey(graph:Graph, keys:DataProvider):Vector.<Object>
Sort nodes by an integer key associated to each node through the given data provider. The nodes are sorted in ascending order.
Parameters
graph:Graph | |
keys:DataProvider |
Vector.<Object> |