Packagecom.yworks.yfiles.layout
Classpublic class LabelRanking
InheritanceLabelRanking Inheritance YObject Inheritance Object
Implements ProfitModel

Implements the ranking for edge and node labels for Graph2D. Node label positions have no ranking for the moment, they are all equal to 1.



Public Methods
 MethodDefined By
  
LabelRanking(init:Boolean = true)
LabelRanking
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
LabelRanking
  
getProfit(candidate:LabelCandidate):Number
LabelRanking
 Inherited
hashCode():int
YObject
  
[static]
LabelRanking
Protected Methods
 MethodDefined By
  
LabelRanking
Constructor Detail
LabelRanking()Constructor
public function LabelRanking(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
getClass()method
override public function getClass():Class

Returns
Class
getProfit()method 
public function getProfit(candidate:LabelCandidate):Number

Parameters

candidate:LabelCandidate

Returns
Number
initLabelRanking()method 
protected final function initLabelRanking():void

newLabelRanking()method 
public static function newLabelRanking():LabelRanking

Returns
LabelRanking