Package | Description |
---|---|
com.yworks.yfiles.algorithms | |
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
Modifier and Type | Field and Description |
---|---|
static YPointPath |
YPointPath.EMPTY_PATH
Defines a path with no points.
|
Modifier and Type | Method and Description |
---|---|
YPointPath |
YPointPath.createReverse()
Create a point path with reverse ordering of the points.
|
Modifier and Type | Method and Description |
---|---|
static YPointPath |
LayoutGraphUtilities.clipEdgePathOnBounds(IEdgeLayout edge,
INodeLayout source,
INodeLayout target)
Returns the path of an edge clipped on insets of the bounding box of the source and target node.
|
static YPointPath |
LayoutGraphUtilities.clipEdgePathOnBounds(IEdgeLayout edge,
INodeLayout source,
INodeLayout target,
double inset)
Returns the path of an edge clipped on insets of the bounding box of the source and target node.
|
static YPointPath |
LayoutGraphUtilities.clipEdgePathOnBounds(LayoutGraph graph,
Edge edge)
Returns the path of an edge clipped on the bounding box of the source and target node.
|
static YPointPath |
LayoutGraphUtilities.clipPathOnBounds(YPointPath path,
YRectangle sourceBox,
YRectangle targetBox)
Returns the path of a given edge path clipped on the given bounding boxes of the source and target node.
|
YPointPath |
LayoutGraph.getPath(Edge edge)
Returns the path of an edge, including the ports.
|
YPointPath |
LayoutGraph.getPoints(Edge edge)
Returns the control points of an edge.
|
Modifier and Type | Method and Description |
---|---|
static YPointPath |
LayoutGraphUtilities.clipPathOnBounds(YPointPath path,
YRectangle sourceBox,
YRectangle targetBox)
Returns the path of a given edge path clipped on the given bounding boxes of the source and target node.
|
void |
LayoutGraph.setPath(Edge edge,
YPointPath path)
Sets the path of the given edge.
|
void |
LayoutGraph.setPoints(Edge edge,
YPointPath points)
Sets the control points of the given edge.
|
Modifier and Type | Field and Description |
---|---|
static EdgeDpKey<YPointPath> |
HierarchicLayout.ALTERNATIVE_EDGE_PATH_DPKEY
A
DataProvider key for associating alternative paths for edges connecting to groups, group content or folder nodes.
|
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,YPointPath> |
HierarchicLayoutData.getAlternativeEdgePath()
Gets a mapping from edges to alternative paths for edges connecting to groups, group content or folder nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchicLayoutData.setAlternativeEdgePath(ItemMapping<IEdge,YPointPath> value)
Sets a mapping from edges to alternative paths for edges connecting to groups, group content or folder nodes.
|