documentationfor yFiles for HTML 2.6

Usages of PortConstraint

Properties

sourcePortConstraintsin HierarchicLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin HierarchicLayoutDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintin IEdgeDataGets the port constraints for the source port of the Edge associated with this IEdgeData instance.
targetPortConstraintin IEdgeDataGets the port constraints for the target port of the Edge associated with this IEdgeData instance.
sourcePortConstraintsin FixGroupLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin FixGroupLayoutDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin FixPortLocationStageDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin FixPortLocationStageDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin PartitionLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin PartitionLayoutDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin PortPlacementStageDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin PortPlacementStageDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin RecursiveGroupLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin RecursiveGroupLayoutDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin ReverseEdgesStageDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin ReverseEdgesStageDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin ClearAreaLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin ClearAreaLayoutDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin PartialLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin PartialLayoutDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin BusRouterDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin BusRouterDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin ChannelEdgeRouterDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin ChannelEdgeRouterDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin EdgeRouterDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin EdgeRouterDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin OrthogonalPatternEdgeRouterDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin OrthogonalPatternEdgeRouterDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin StraightLineEdgeRouterDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin StraightLineEdgeRouterDataGets or sets a mapping from edges to their target PortConstraint.
sourcePortConstraintsin TreeLayoutDataGets or sets a mapping from edges to their source PortConstraint.
targetPortConstraintsin TreeLayoutDataGets or sets a mapping from edges to their target PortConstraint.

Fields

SOURCE_PORT_CONSTRAINT_DP_KEYin PortConstraintKeysA data provider key for providing source constraints for edges in the input graph.
TARGET_PORT_CONSTRAINT_DP_KEYin PortConstraintKeysA data provider key for providing target constraints for edges in the input graph.

Method Return Values

toPortConstraint ()in PortCandidateA utility method that converts the current PortCandidate instance to a PortConstraint.
toPortConstraintForLayoutOrientation (LayoutOrientation)in PortCandidateA utility method that converts the current PortCandidate instance to a PortConstraint with respect to the given layout orientation.
create (PortSide, boolean?)in PortConstraintCreates a new PortConstraint that constrains the edge to connect to the given side of a node and that can be either strong or weak.
getSPC (LayoutGraph, Edge)in PortConstraintReturns the source PortConstraint associated with the given edge.
getTPC (LayoutGraph, Edge)in PortConstraintReturns the target PortConstraint associated with the given edge.
createPortConstraintFromSketch (LayoutGraph, Edge, boolean, boolean)in PortConstraintConfiguratorCreates a PortConstraint for the given edge.
getSourcePortConstraint (LayoutGraph, Edge, number)in DefaultTreeLayoutPortAssignmentRetrieves the source PortConstraint for the given edge.
getTargetPortConstraint (LayoutGraph, Edge)in DefaultTreeLayoutPortAssignmentRetrieves the target PortConstraint for the given edge.
getPortConstraint (YNode)in RotatableNodePlacerBaseReturns the target PortConstraint for the local root's incoming edge.

Method Parameters

HierarchicLayoutData ()in HierarchicLayoutDataCreates a new instance of HierarchicLayoutData which helps configuring HierarchicLayout.
setTemporaryPortConstraint (Edge, boolean, PortConstraint)in IItemFactorySpecifies a port constraint for an Edge at the given side and assigns it to an IEdgeData object.
FixGroupLayoutData ()in FixGroupLayoutDataCreates a new instance of FixGroupLayoutData which helps configuring FixGroupLayoutStage.
FixPortLocationStageData ()in FixPortLocationStageDataCreates a new instance of FixPortLocationStageData which helps configuring FixPortLocationStage.
PartitionLayoutData ()in PartitionLayoutDataCreates a new instance of PartitionLayoutData which helps configuring PartitionLayout.
createCandidate (PortConstraint)in PortCandidateFactory method that returns a free PortCandidate instance with zero cost of usage and the direction specified by the side of the given PortConstraint.
PortPlacementStageData ()in PortPlacementStageDataCreates a new instance of PortPlacementStageData which helps configuring the PortPlacementStage.
RecursiveGroupLayoutData ()in RecursiveGroupLayoutDataCreates a new instance of RecursiveGroupLayoutData which helps configuring RecursiveGroupLayout.
ReverseEdgesStageData ()in ReverseEdgesStageDataCreates a new instance of ReverseEdgesStageData which helps configuring ReverseEdgesStage.
ClearAreaLayoutData ()in ClearAreaLayoutDataCreates a new instance of ClearAreaLayoutData.
PartialLayoutData ()in PartialLayoutDataCreates a new instance of PartialLayoutData which helps configuring PartialLayout.
BusRouterData ()in BusRouterDataCreates a new instance of BusRouterData which helps configuring BusRouter.
ChannelEdgeRouterData ()in ChannelEdgeRouterDataCreates a new instance of ChannelEdgeRouterData which helps configuring ChannelEdgeRouter.
EdgeRouterData ()in EdgeRouterDataCreates a new instance of EdgeRouterData which helps configuring EdgeRouter.
OrthogonalPatternEdgeRouterData ()in OrthogonalPatternEdgeRouterDataCreates a new instance of OrthogonalPatternEdgeRouterData which helps configuring OrthogonalPatternEdgeRouter.
valueOfPortConstraint (PortConstraint)in PartitionCellBorderReturns the type of the border that is defined by the given PortConstraint.
StraightLineEdgeRouterData ()in StraightLineEdgeRouterDataCreates a new instance of StraightLineEdgeRouterData which helps configuring StraightLineEdgeRouter.
TreeLayoutData ()in TreeLayoutDataCreates a new instance of TreeLayoutData which helps configuring TreeLayout.