Package | com.yworks.yfiles.layout.hierarchic.incremental |
Class | public class EdgeLayoutDescriptor |
Inheritance | EdgeLayoutDescriptor YObject Object |
See also
Property | Defined By | ||
---|---|---|---|
minimumDistance : Number
Getter:
Returns the preferred minimum distance of the edge to obstacles. | EdgeLayoutDescriptor | ||
minimumFirstSegmentLength : Number
Specifies the minimum length of the first segment (at the source). | EdgeLayoutDescriptor | ||
minimumLastSegmentLength : Number
Specifies the minimum length of the last segment (at the target). | EdgeLayoutDescriptor | ||
minimumLength : Number
Specifies the minimum length of the edge. | EdgeLayoutDescriptor | ||
minimumSlope : Number
Specifies the minimum slope this edge's mid-segments should have if the edge is routed polygonal in vertical layouts. | EdgeLayoutDescriptor | ||
minOctilinearSegmentLength : Number
Specifies the minimum length of octilinear segments for this edge. | EdgeLayoutDescriptor | ||
orthogonallyRouted : Boolean
Determines whether this edge should be routed orthogonally. | EdgeLayoutDescriptor | ||
routingStyle : RoutingStyle
Specifies the routing style for this edge. | EdgeLayoutDescriptor | ||
sourcePortOptimizationEnabled : Boolean
Specifies whether source port optimization is enabled, i.e. | EdgeLayoutDescriptor | ||
targetPortOptimizationEnabled : Boolean
Specifies whether target port optimization is enabled, i.e. | EdgeLayoutDescriptor |
Method | Defined By | ||
---|---|---|---|
EdgeLayoutDescriptor(init:Boolean = true)
Creates a new instance of an EdgeLayoutDescriptor using the default values. | EdgeLayoutDescriptor | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | EdgeLayoutDescriptor | ||
hashCode():int | YObject | ||
[static]
Creates a new instance of an EdgeLayoutDescriptor using the default values. | EdgeLayoutDescriptor |
Method | Defined By | ||
---|---|---|---|
initEdgeLayoutDescriptor():void
Initializes this object. | EdgeLayoutDescriptor |
minimumDistance | property |
minimumDistance:Number
Getter:
Returns the preferred minimum distance of the edge to obstacles.
Default is 10.0d
.
public function get minimumDistance():Number
public function set minimumDistance(value:Number):void
minimumFirstSegmentLength | property |
minimumFirstSegmentLength:Number
Specifies the minimum length of the first segment (at the source).
If the value is 0.0d
the first segment does not need to be orthogonal. Default is 10.0d
.
public function get minimumFirstSegmentLength():Number
public function set minimumFirstSegmentLength(value:Number):void
minimumLastSegmentLength | property |
minimumLastSegmentLength:Number
Specifies the minimum length of the last segment (at the target).
If the value is 0.0d
the last segment does not need to be orthogonal. Default is 15.0d
.
public function get minimumLastSegmentLength():Number
public function set minimumLastSegmentLength(value:Number):void
minimumLength | property |
minimumLength:Number
Specifies the minimum length of the edge.
If this is used for polyline routing, it describes the minimum vertical length of the mid segment (the one that may be routed non-orthogonally). If it is used for orthogonal routing it describes the minimum length for the whole edge. Default is 20.0d
.
public function get minimumLength():Number
public function set minimumLength(value:Number):void
minimumSlope | property |
minimumSlope:Number
Specifies the minimum slope this edge's mid-segments should have if the edge is routed polygonal in vertical layouts.
Default is 0.3d
.
public function get minimumSlope():Number
public function set minimumSlope(value:Number):void
minOctilinearSegmentLength | property |
minOctilinearSegmentLength:Number
Specifies the minimum length of octilinear segments for this edge. Note: the layout algorithm cannot always maintain the specified minimum length.
Default is 20.0d
.
public function get minOctilinearSegmentLength():Number
public function set minOctilinearSegmentLength(value:Number):void
See also
orthogonallyRouted | property |
orthogonallyRouted:Boolean
Determines whether this edge should be routed orthogonally.
Default is false
. This does not affect the routing of bus-like structures.
public function get orthogonallyRouted():Boolean
public function set orthogonallyRouted(value:Boolean):void
routingStyle | property |
routingStyle:RoutingStyle
Specifies the routing style for this edge.
public function get routingStyle():RoutingStyle
public function set routingStyle(value:RoutingStyle):void
See also
sourcePortOptimizationEnabled | property |
sourcePortOptimizationEnabled:Boolean
Specifies whether source port optimization is enabled, i.e.
whether the algorithm should try to find a better source com.yworks.yfiles.layout.PortConstraint if the current constraint is null
or com.yworks.yfiles.layout.PortConstraint.ANY_SIDE. Default is false
, which will result in ports being placed at the side of the node which lies closest to the target of the edge in terms of layering.
public function get sourcePortOptimizationEnabled():Boolean
public function set sourcePortOptimizationEnabled(value:Boolean):void
See also
targetPortOptimizationEnabled | property |
targetPortOptimizationEnabled:Boolean
Specifies whether target port optimization is enabled, i.e.
whether the algorithm should try to find a better target com.yworks.yfiles.layout.PortConstraint if the current constraint is null
or com.yworks.yfiles.layout.PortConstraint.ANY_SIDE. Default is false
, which will result in ports being placed at the side of the node which lies closest to the source of the edge in terms of layering.
public function get targetPortOptimizationEnabled():Boolean
public function set targetPortOptimizationEnabled(value:Boolean):void
See also
EdgeLayoutDescriptor | () | Constructor |
public function EdgeLayoutDescriptor(init:Boolean = true)
Creates a new instance of an EdgeLayoutDescriptor using the default values.
Parametersinit:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initEdgeLayoutDescriptor | () | method |
protected final function initEdgeLayoutDescriptor():void
Initializes this object. See the documentation of the corresponding factory method newEdgeLayoutDescriptor()
for details.
See also
newEdgeLayoutDescriptor | () | method |
public static function newEdgeLayoutDescriptor():EdgeLayoutDescriptor
Creates a new instance of an EdgeLayoutDescriptor using the default values.
ReturnsEdgeLayoutDescriptor |