documentationfor yFiles for HTML 2.6

Usages of Direction

Properties

mirrorin DirectionGets the mirror direction.
turnCCWin DirectionGets the direction that follows this direction in counterclockwise order.
turnCWin DirectionGets the direction that follows this direction in clockwise order.
enterDirectionin CellEntranceGets or sets the direction from which this cell was entered.
directionin CellSegmentInfoGets the direction to which the segment of this info points.
enterDirectionin EdgeCellInfoGets the direction in which this cell is entered.
exitDirectionin EdgeCellInfoGets the direction in which this cell is exited.
directionin SegmentInfoBaseGets the Direction to which the segment of this info points.

Fields

DOWNin DirectionDecodes the down direction.
LEFTin DirectionDecodes the left direction.
RIGHTin DirectionDecodes the right direction.
UPin DirectionDecodes the up direction.

Method Return Values

getOrientedDirection (Direction, LayoutOrientation, MirrorModes)in EdgeLabelOrientationSupportTransforms a direction of the layout to the oriented layout direction.

Method Parameters

getEdgeLabelUpVector (PreferredPlacementDescriptor, Direction)in EdgeLabelOrientationSupportCalculates the up vector of an edge label considering the preferred placement of the label as well as the direction of the edge segment the label is attached to.
getOrientedDirection (Direction, LayoutOrientation, MirrorModes)in EdgeLabelOrientationSupportTransforms a direction of the layout to the oriented layout direction.
preProcessLabel (Graph, LabelLayoutData, Direction)in EdgeLabelOrientationSupportPrepares the label for the core layout algorithm.
updateLabelOrientation (LabelLayoutData, Direction)in EdgeLabelOrientationSupportCalculates and sets the up vector of an edge label considering the preferred placement of the label as well as the direction of the edge segment the label is attached to.
CellSegmentInfo (Object, number, Direction, Interval, Interval, Interval, PartitionCell)in CellSegmentInfoCreates a new CellSegmentInfo instance.
EdgeCellInfo (Object, PartitionCell, OrthogonalInterval, OrthogonalInterval, Direction, Direction, number)in EdgeCellInfoCreates a new EdgeCellInfo instance.
valueOfEnterDirection (Direction)in PartitionCellBorderReturns the type of the border that is passed through when entering a PartitionCell in the given direction.
valueOfExitDirection (Direction)in PartitionCellBorderReturns the type of the border that is passed through when exiting a PartitionCell in the given direction.
SegmentInfo (Edge, number, Direction, Interval, Interval, Interval, IList<Object>)in SegmentInfoCreates a new instance of SegmentInfo with the given information.
SegmentInfoBase (Object, number, Direction, Interval, Interval, Interval)in SegmentInfoBaseCreates a new instance of SegmentInfoBase.