Package | com.yworks.yfiles.layout.labeling |
Class | public class GreedyMISLabeling |
Inheritance | GreedyMISLabeling MISLabelingAlgorithm AbstractLabelingAlgorithm AbstractLayoutStage YObject Object |
Method | Defined By | ||
---|---|---|---|
GreedyMISLabeling(init:Boolean = true) | GreedyMISLabeling | ||
canLayout(graph:LayoutGraph):Boolean [override]
Returns true. | AbstractLabelingAlgorithm | ||
doLayout(graph:LayoutGraph):void [override]
Place the labels in the graph. | AbstractLabelingAlgorithm | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | GreedyMISLabeling | ||
getProfit(l:LabelCandidate):Number
Returns the profit model that is used to rank the available positions for each label. | AbstractLabelingAlgorithm | ||
hashCode():int | YObject | ||
label(gl:LayoutGraph):void
Place the labels in the graph. | AbstractLabelingAlgorithm | ||
labelSome(gl:LayoutGraph, key:Object):void
Place a subset of the labels. | AbstractLabelingAlgorithm | ||
Place some labels in the graph. | AbstractLabelingAlgorithm | ||
[static] | GreedyMISLabeling |
Method | Defined By | ||
---|---|---|---|
Creates a node map which assigns to each node the profit. | MISLabelingAlgorithm | ||
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out. | AbstractLayoutStage | ||
checkGroupNodeSize(layout:GraphLayout, node:Object):void
This method throws an com.yworks.bridge.util.IllegalArgumentException if the width/height of the given group node object is zero. | AbstractLabelingAlgorithm | ||
checkNodeSize(layout:GraphLayout, node:Object):void
This method throws an com.yworks.bridge.util.IllegalArgumentException if the width/height of the given node object is zero. | AbstractLabelingAlgorithm | ||
createEdges():void
Creates one edge between two nodes if the corresponding label candidates are intersecting. | MISLabelingAlgorithm | ||
doLayoutCore(graph:LayoutGraph):void
Invokes the layout routine of the core layouter. | AbstractLayoutStage | ||
Calculates the overlapping factor between a label candidate and an edge segment. | MISLabelingAlgorithm | ||
Calculates the overlapping factor between a label candidate and a node halo. | MISLabelingAlgorithm | ||
Calculates the overlapping factor between two label candidates. | MISLabelingAlgorithm | ||
Calculates the overlapping factor between a label candidate and a node. | MISLabelingAlgorithm | ||
AbstractLabelingAlgorithm | |||
initAbstractLayoutStage1():void | AbstractLayoutStage | ||
initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | ||
initGreedyMISLabeling():void | GreedyMISLabeling | ||
initMISLabelingAlgorithm():void | MISLabelingAlgorithm |
GreedyMISLabeling | () | Constructor |
public function GreedyMISLabeling(init:Boolean = true)
init:Boolean (default = true )
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initGreedyMISLabeling | () | method |
protected final function initGreedyMISLabeling():void
newGreedyMISLabeling | () | method |