documentationfor yFiles for HTML 2.6

Usages of YPointPath

Properties

busPointsin EdgeRouterBusDescriptorGets or sets the user-specified bus path that represents the backbone for edges associated with this bus.
computedBusPointsin EdgeRouterBusDescriptorGets the point path that describes the bus computed by the EdgeRouter.

Fields

EMPTY_PATHin YPointPathDefines a path with no points.
ALTERNATIVE_EDGE_PATH_DP_KEYin HierarchicLayoutA data provider key for associating alternative paths for edges connecting to groups, group content or folder nodes.
EDGE_PATH_DP_KEYin GivenCoordinatesStageA data provider key for specifying the initial path of edges.
EXPANDED_NODE_ORIGINAL_EDGE_PATH_DP_KEYin ClearAreaLayoutA data provider key for associating original paths for edges connecting to the expanded node, including edges that did so only when the node was not yet expanded.

Method Return Values

createReverse ()in YPointPathCreate a point path with reverse ordering of the points.
getPath (Edge)in LayoutGraphReturns the path of an edge, including the ports.
getPoints (Edge)in LayoutGraphReturns the control points of an edge.
clipEdgePathOnBounds (LayoutGraph, Edge)in LayoutGraphUtilitiesReturns the path of an edge clipped on the bounding box of the source and target node.
clipEdgePathOnBounds (IEdgeLayout, INodeLayout, INodeLayout, number?)in LayoutGraphUtilitiesReturns the path of an edge clipped on insets of the bounding box of the source and target node.
clipPathOnBounds (YPointPath, YRectangle, YRectangle)in LayoutGraphUtilitiesReturns the path of a given edge path clipped on the given bounding boxes of the source and target node.

Method Parameters

setPath (Edge, YPointPath)in LayoutGraphSets the path of the given edge.
setPoints (Edge, YPointPath)in LayoutGraphSets the control points of the given edge.
clipPathOnBounds (YPointPath, YRectangle, YRectangle)in LayoutGraphUtilitiesReturns the path of a given edge path clipped on the given bounding boxes of the source and target node.
EdgeRouterBusDescriptor ()in EdgeRouterBusDescriptorCreates a new instance of a EdgeRouterBusDescriptor with the default values.