Package | Description |
---|---|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Field and Description |
---|---|
static EdgeDpKey<EdgeLayoutDescriptor> |
EdgeRouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY
A
DataProvider key for specifying individual edge layout information
If this IDataProvider does not contain an EdgeLayoutDescriptor for an edge, then the layout algorithm
will use the default descriptor . |
Modifier and Type | Method and Description |
---|---|
EdgeLayoutDescriptor |
EdgeLayoutDescriptor.createCopy()
Creates a copy of this
EdgeLayoutDescriptor instance. |
EdgeLayoutDescriptor |
PathSearchContext.getCurrentEdgeLayoutDescriptor()
Gets the
EdgeLayoutDescriptor for the current edge containing edge specific settings
for the path search. |
EdgeLayoutDescriptor |
EdgeRouter.getDefaultEdgeLayoutDescriptor()
Gets the
EdgeLayoutDescriptor instance used for all those edges that do not have a specific edge layout
descriptor assigned. |
protected EdgeLayoutDescriptor |
EdgeRouter.getEdgeLayoutDescriptor(Edge edge)
Returns the
EdgeLayoutDescriptor instance for a given edge that is provided by a IDataProvider which is
registered with the graph with key EdgeRouter.EDGE_LAYOUT_DESCRIPTOR_DPKEY . |
Modifier and Type | Method and Description |
---|---|
ItemMapping<IEdge,EdgeLayoutDescriptor> |
PolylineEdgeRouterData.getEdgeLayoutDescriptors()
Gets the mapping of edges to their
EdgeLayoutDescriptor . |
Modifier and Type | Method and Description |
---|---|
void |
PolylineEdgeRouterData.setEdgeLayoutDescriptors(ItemMapping<IEdge,EdgeLayoutDescriptor> value)
Sets the mapping of edges to their
EdgeLayoutDescriptor . |