The data provider key used to look up the selected state of the edges of the graph to be laid out.

Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public static readonly Object SelectedEdgesDpKey
Visual Basic
Public Shared ReadOnly SelectedEdgesDpKey As Object

Remarks

The data provider key used to look up the selected state of the edges of the graph to be laid out. A layout algorithm will try to retrieve a data provider from the graph to be laid out with this key. The looked up data provider should provide boolean values for the edges of that graph. The boolean value should signal whether an edge is to be considered as selected or not.

Note that for several layouters this key is used for restricting the sphere of action, e.g. to route only a subset of the edges by the OrthogonalEdgeRouter. However, it is often more convenient to use a specific data provider key for this purpose, for example if you want to combine two layouters of this kind which have to operate on different subsets of the graph. Thus, these layouters provide a method like setSelectedEdgesDpKey(Object) in the case of the OrthogonalEdgeRouter for using a different data provider.

See Also