Package | com.yworks.yfiles.layout |
Class | public class GraphLayoutLineWrapper |
Inheritance | GraphLayoutLineWrapper AbstractLayoutStage YObject Object |
See also
Property | Defined By | ||
---|---|---|---|
columnMode : Boolean
Determines whether this algorithm should not wrap lines or rows, but columns. | GraphLayoutLineWrapper | ||
coreLayouter : Layouter
Specifies the core layouter. | AbstractLayoutStage | ||
edgeSpacing : Number
Specifies the space between edges that should be used for the additional routing. | GraphLayoutLineWrapper | ||
fixedWidth : Number
Specifies the desired width of the lines to use if fixedWidthLineBreaks is set to true. | GraphLayoutLineWrapper | ||
fixedWidthLineBreaks : Boolean
Specifies whether the algorithm should use the fixed width (fixedWidth) to determine line breaks. | GraphLayoutLineWrapper | ||
mirror : Boolean
Specifies whether lines should be going from left to right and right to left in an alternating fashion. | GraphLayoutLineWrapper | ||
spacing : Number
Specifies the space between adjacent lines of the wrapped graph layout. | GraphLayoutLineWrapper | ||
targetRatio : Number
Specifies the desired target aspect ratio the algorithm should try to generate. | GraphLayoutLineWrapper |
Method | Defined By | ||
---|---|---|---|
GraphLayoutLineWrapper(init:Boolean = true) | GraphLayoutLineWrapper | ||
canLayout(graph:LayoutGraph):Boolean [override] | GraphLayoutLineWrapper | ||
doLayout(graph:LayoutGraph):void [override] | GraphLayoutLineWrapper | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | GraphLayoutLineWrapper | ||
hashCode():int | YObject | ||
[static] | GraphLayoutLineWrapper |
Method | Defined By | ||
---|---|---|---|
canLayoutCore(graph:LayoutGraph):Boolean
Queries the core layouter whether or not the given graph can be laid out. | AbstractLayoutStage | ||
doLayoutCore(graph:LayoutGraph):void
Invokes the layout routine of the core layouter. | AbstractLayoutStage | ||
initAbstractLayoutStage1():void | AbstractLayoutStage | ||
initAbstractLayoutStage2(core:Layouter):void | AbstractLayoutStage | ||
initGraphLayoutLineWrapper():void | GraphLayoutLineWrapper |
columnMode | property |
columnMode:Boolean
Determines whether this algorithm should not wrap lines or rows, but columns.
If set to true
, the layout will be wrapped vertically and new columns will be appended to the right of the first column. The fixedWidth property will be interpreted as a fixed height, in that case, of course. The default is false
.
public function get columnMode():Boolean
public function set columnMode(value:Boolean):void
See also
edgeSpacing | property |
edgeSpacing:Number
Specifies the space between edges that should be used for the additional routing.
The default is 5
.
public function get edgeSpacing():Number
public function set edgeSpacing(value:Number):void
fixedWidth | property |
fixedWidth:Number
Specifies the desired width of the lines to use if fixedWidthLineBreaks is set to true
.
Note that the algorithm will not necessarily be able to satisfy very small values since the nodes need to fit into a line completely.
The default is 500
public function get fixedWidth():Number
public function set fixedWidth(value:Number):void
See also
fixedWidthLineBreaks | property |
fixedWidthLineBreaks:Boolean
Specifies whether the algorithm should use the fixed width (fixedWidth) to determine line breaks.
The default is false
.
public function get fixedWidthLineBreaks():Boolean
public function set fixedWidthLineBreaks(value:Boolean):void
See also
mirror | property |
mirror:Boolean
Specifies whether lines should be going from left to right and right to left in an alternating fashion.
If set to true
every second line will be rotated 180 degrees and ports will be adjusted correspondingly. The default is true
public function get mirror():Boolean
public function set mirror(value:Boolean):void
spacing | property |
spacing:Number
Specifies the space between adjacent lines of the wrapped graph layout.
The default is 10
.
public function get spacing():Number
public function set spacing(value:Number):void
targetRatio | property |
targetRatio:Number
Specifies the desired target aspect ratio the algorithm should try to generate.
This setting only affects the outcome if fixedWidthLineBreaks is set to false
. The default is 1.0d
.
public function get targetRatio():Number
public function set targetRatio(value:Number):void
See also
GraphLayoutLineWrapper | () | Constructor |
public function GraphLayoutLineWrapper(init:Boolean = true)
init:Boolean (default = true )
|
canLayout | () | method |
override public function canLayout(graph:LayoutGraph):Boolean
Parameters
graph:LayoutGraph |
Boolean |
doLayout | () | method |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initGraphLayoutLineWrapper | () | method |
protected final function initGraphLayoutLineWrapper():void
newGraphLayoutLineWrapper | () | method |
public static function newGraphLayoutLineWrapper():GraphLayoutLineWrapper
ReturnsGraphLayoutLineWrapper |