Usages of IComparer
Properties
sequenceComparer | in GivenSequenceSequencer | Gets or sets the IComparer<T> used by this GivenSequenceSequencer to determine the sequence of the nodes. | |
componentComparer | in MultiComponentLayerer | Gets or sets the component IComparer<T> instance. | |
comparer | in SwimlaneDescriptor | Gets or sets the IComparer<T> instance used for sorting the lanes. | |
defaultNodeComparer | in CactusGroupLayout | Gets the default policy for ordering subtree roots around their common parent. | |
nodeComparer | in CactusGroupLayout | Gets or sets a IComparer<T> for children of the same parent node, by which the order of the subtrees around their parent is determined. | |
nodeComparer | in TabularLayout | Gets or sets the IComparer<T> that defines the order in which the free nodes are placed in the table. | |
edgeComparer | in EdgeRouter | Gets or sets a custom IComparer<T> to define the processing order of the edges. | |
defaultOutEdgeComparer | in SeriesParallelLayout | Gets or sets the default IComparer<T> used for sorting the outgoing edges incident to nodes that do not have a specific IComparer<T>. | |
comparer | in AspectRatioTreeLayout | Gets or sets the IComparer<T> that will be used for sorting the outgoing edges of each local root in the tree before they are being arranged. | |
comparer | in BalloonLayout | Gets or sets the IComparer<T> instance that determines the order of the outgoing edges for each node of the tree. | |
comparer | in ClassicTreeLayout | Gets or sets the IComparer<T> instance that is used for sorting the outgoing edges of each node of the tree. | |
defaultOutEdgeComparer | in TreeLayout | Gets or sets the default IComparer<T> instance that sorts the outgoing edges in all subtrees that do not have a specific IComparer<T> assigned using a IDataProvider. | |
nodeComparer | in TreeMapLayout | Gets or sets the IComparer<T> that defines the order in which child nodes are placed inside their parent node. | |
comparer | in GraphModelManager | Gets an IComparer<T> instance that can be used to compare two model items with respect to their visual display order. | |
comparer | in ItemModelManager | Gets or sets an IComparer<T> that compares the items so that they are put into the correct order in the canvas tree. |
Fields
TABULAR_GROUP_CHILD_COMPARER_DP_KEY | in HierarchicLayout | A data provider key for specifying orderings of child nodes of a tabular group node. | |
OUT_EDGE_COMPARER_DP_KEY | in RadialLayout | A data provider key for specifying the comparator for the outgoing edges which ultimately orders the successor nodes of a node. | |
OUT_EDGE_COMPARER_DP_KEY | in SeriesParallelLayout | A data provider key for assigning different orderings for outgoing edges of the nodes. | |
OUT_EDGE_COMPARER_DP_KEY | in TreeLayout | A data provider key for specifying the comparator for the outgoing edges. |
Method Return Values
createComparableComparer () | in Comparers | Returns a IComparer<T> that compares to Objects of type Comparable. | |
createComparableDataComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of arbitrary type. | |
createIntDataComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of arbitrary type. | |
createIntDataSourceComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of type Edge. | |
createIntDataTargetComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of type Edge. | |
createNumberDataComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of arbitrary type. | |
createNumberDataSourceComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of type Edge. | |
createNumberDataTargetComparer (IDataProvider) | in Comparers | Returns a IComparer<T> that compares objects of type Edge. | |
create (function(T, T):number) | in IComparer | Creates an implementation of the interface IComparer<T> by using the given function as implementation for its compare method. | |
createSegmentInfoComparer (YList, PathSearchResult, PathSearchConfiguration) | in ChannelBasedPathRouting | Creates a comparator for sorting the SegmentInfos in a Channel from left to right (for vertical segments) or top to bottom (for horizontal segments), respectively. | |
createDefaultEdgeOrderComparer (LayoutGraph, PathSearchConfiguration) | in EdgeRouter | Creates a default IComparer<T> instance to determine the order of the edges according to which they will be routed. | |
createFromSketchComparer () | in AspectRatioNodePlacer | Creates an edge IComparer<T> which takes the initial coordinates of the nodes into account. | |
createComparer () | in AssistantNodePlacer | Delegates the creation of from-sketch comparators to the two ITreeLayoutNodePlacers handling assistant and non-assistant nodes. | |
createCompoundComparer (IComparer<Object>, IComparer<Object>) | in AssistantNodePlacer | Creates a IComparer<T> that compares outgoing edges connecting to assistant nodes and edges connecting to non-assistant nodes separately. | |
createComparer () | in BusNodePlacer | Creates a IComparer<T> for outgoing edges that takes the rotation into account. | |
createComparer () | in DefaultNodePlacer | Creates a IComparer<T> for outgoing edges which takes the initial coordinates of the edges' targets into account. | |
createFromSketchComparer () | in DefaultNodePlacer | Delegates to createComparer. | |
createComparer () | in DendrogramNodePlacer | Creates a IComparer<T> that sorts outgoing edges according to the x-coordinate of their target nodes. | |
createFromSketchComparer () | in DendrogramNodePlacer | Creates a IComparer<T> for the edges which takes the initial x-coordinates of the nodes into account. | |
createFromSketchComparer () | in GridNodePlacer | Creates a IComparer<T> that sorts the outgoing edges according to the rows and x-coordinates of their target nodes. | |
createFromSketchComparer () | in IFromSketchNodePlacer | Creates an edge IComparer<T> which takes the initial coordinates of the nodes into account. | |
createComparer () | in LeftRightNodePlacer | Returns a IComparer<T> for outgoing edges that considers the locations of the target nodes. | |
createComparer () | in RotatableNodePlacerBase | Creates a IComparer<T> for outgoing edges that takes the rotation into account. | |
createFromSketchComparer () | in RotatableNodePlacerBase | Delegates to createComparer. | |
getOutEdgeComparer (YNode) | in TreeLayout | Returns the IComparer<T> instance that will sort the outgoing edges connecting to the given node. |
Method Parameters
sortEdges (IComparer<Object>) | in Graph | Sorts the internally held list of edges. | |
sortEdges (IComparer<Object>, IComparer<Object>) | in Graph | Sorts incoming and outgoing edges at each node of the graph. | |
sortNodes (IComparer<Object>) | in Graph | Sorts the internally held list of nodes. | |
sortInEdges (IComparer<Object>) | in YNode | Sorts incoming edges at this node according to the given comparator. | |
sortOutEdges (IComparer<Object>) | in YNode | Sorts outgoing edges at this node according to the given comparator. | |
sort (IComparer<Object>) | in YList | Sorts the elements in this list according to the given comparator. | |
binarySearch (T, IComparer<T>) | in List | Searches the (sorted) list for the given item . | |
sort (IComparer<T>) | in List | Sorts all elements in the list using the given comparer . | |
GivenSequenceSequencer (IComparer<Object>?) | in GivenSequenceSequencer | Creates a new instance of GivenSequenceSequencer using a given IComparer<T> for the sequencing. | |
MultiComponentLayerer (ILayerer, ILayeredComponentsMerger?, IComparer<Object>?) | in MultiComponentLayerer | Creates a new instance of MultiComponentLayerer using the given ILayeredComponentsMerger and IComparer<T> instances. | |
optimizeAfterSequencingForSingleNode (YNode, IComparer<Object>, IComparer<Object>, LayoutGraph, ILayoutDataProvider, IItemFactory) | in PortCandidateOptimizer | ||
optimizeAfterSequencingForAllNodes (IComparer<Object>, IComparer<Object>, LayoutGraph, ILayers, ILayoutDataProvider, IItemFactory) | in PortConstraintOptimizerBase | Assigns new temporary port constraints after the order of the nodes in each layer has been determined. | |
optimizeAfterSequencingForSingleNode (YNode, IComparer<Object>, IComparer<Object>, LayoutGraph, ILayoutDataProvider, IItemFactory) | in PortConstraintOptimizerBase | Assigns new temporary port constraints to a given node of the graph after the order of the nodes in each layer has been determined. | |
SwimlaneDescriptor (Object, IComparer<Object>?) | in SwimlaneDescriptor | Creates a new SwimlaneDescriptor instance with a given client Object and a given IComparer<T>. | |
CactusGroupLayout () | in CactusGroupLayout | Creates a new CactusGroupLayout instance with default settings. | |
TabularLayout () | in TabularLayout | Initializes a new instance of the TabularLayout class with default settings. | |
sortSegmentInfos (IList<Object>, IComparer<Object>) | in ChannelBasedPathRouting | Sorts the given list of SegmentInfos using the given comparator. | |
EdgeRouter (ILayoutAlgorithm?, ) | in EdgeRouter | Creates a new EdgeRouter instance with an optional core layout algorithm. | |
SeriesParallelLayout () | in SeriesParallelLayout | Creates a new SeriesParallelLayout instance with default settings. | |
AspectRatioTreeLayout () | in AspectRatioTreeLayout | Creates a new AspectRatioTreeLayout instance with default settings. | |
createCompoundComparer (IComparer<Object>, IComparer<Object>) | in AssistantNodePlacer | Creates a IComparer<T> that compares outgoing edges connecting to assistant nodes and edges connecting to non-assistant nodes separately. | |
BalloonLayout () | in BalloonLayout | Creates a new BalloonLayout instance with default settings. | |
ClassicTreeLayout () | in ClassicTreeLayout | Creates a new ClassicTreeLayout instance with default settings. | |
TreeLayout () | in TreeLayout | Creates a new TreeLayout instance with default settings. | |
TreeMapLayout () | in TreeMapLayout | Initializes a new instance of the TreeMapLayout class with default settings. |
Implementing Types
DefaultOutEdgeComparer | DefaultOutEdgeComparer is the default implementation for the out-edge comparator used in SeriesParallelLayout. | |
NodeOrderComparer | The NodeOrderComparer compares edges according to a specified order. | |
NodeWeightComparer | A IComparer<T> that compares two nodes with respect to their weight value defined via the IDataProvider registered with NODE_WEIGHT_DP_KEY. |