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 | Method and Description |
---|---|
protected PathSearchConfiguration |
EdgeRouter.createConfiguration(LayoutGraph graph,
GroupingSupport grouping)
Creates a
PathSearchConfiguration that is used during the path searching process. |
protected PathSearchConfiguration |
PathSearchExtension.getConfiguration()
Gets the configuration used for the path search.
|
PathSearchConfiguration |
PathSearchContext.getConfiguration()
Gets the configuration used for the
PathSearch . |
protected PathSearchConfiguration |
GraphPartitionExtensionAdapter.getConfiguration()
Gets the configuration of the
PathSearch passed to
IGraphPartitionExtension.preparePartition(PathSearchConfiguration, GraphPartition) . |
protected PathSearchConfiguration |
ChannelBasedPathRouting.getConfiguration()
|
Modifier and Type | Method and Description |
---|---|
protected Comparator<Object> |
EdgeRouter.createDefaultEdgeOrderComparator(LayoutGraph graph,
PathSearchConfiguration configuration)
Creates a default
Comparator instance to determine the order of the edges according to which they will be
routed. |
protected PathSearchContext |
EdgeRouter.createPathSearchContext(PathSearch pathSearch,
PathSearchConfiguration configuration)
Creates a
PathSearchContext that provides context information for the path searching algorithm. |
protected Comparator<Object> |
ChannelBasedPathRouting.createSegmentInfoComparator(YList channels,
PathSearchResult pathSearchResult,
PathSearchConfiguration configuration)
Creates a
comparator for sorting the SegmentInfo s in a Channel from left to right
(for vertical segments) or top to bottom (for horizontal segments), respectively. |
void |
PathSearch.init(PathSearchConfiguration configuration)
Initializes the fields of this
PathSearch . |
void |
GraphPartition.init(PathSearchConfiguration configuration)
Initializes the
GraphPartition with the given graph instance based on the given configuration
used by path search algorithms. |
protected void |
PathSearchExtension.initialize(PathSearchConfiguration configuration)
Initializes this extension for path searches using the given configuration.
|
void |
ChannelBasedPathRouting.initialize(PathSearchConfiguration configuration)
Initializes this
ChannelBasedPathRouting instance for routing paths that have been found with the given
configuration . |
void |
IGraphPartitionExtension.preparePartition(PathSearchConfiguration configuration,
GraphPartition graphPartition)
Adds a
IGraphPartitionExtension to the GraphPartition . |
void |
GraphPartitionExtensionAdapter.preparePartition(PathSearchConfiguration configuration,
GraphPartition graphPartition)
Stores the given
PathSearchConfiguration and GraphPartition such that they are accessible through Configuration
and GraphPartition , respectively. |
Constructor and Description |
---|
EdgeInfo(Path path,
PathSearchConfiguration configuration)
Creates a new
EdgeInfo instance. |
PathSearchContext(PathSearch pathSearch,
PathSearchConfiguration configuration)
Creates a new instance of
PathSearchContext . |
PathSearchResult(PathSearchConfiguration configuration)
Creates a new instance of
PathSearchResult . |