Determines a path for the given IDiagramConnection.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public ReadOnlyCollection<Point> FindPath(
	IDiagramConnection connection,
	IDiagramModel diagram
)
Visual Basic (Declaration)
Public Function FindPath ( _
	connection As IDiagramConnection, _
	diagram As IDiagramModel _
) As ReadOnlyCollection(Of Point)

Parameters

connection
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnection
The IDiagramConnection to find a path for.
diagram
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
An IDiagramModel used to obtain other nodes and connections if needed

Return Value

A collection of via points representing the plotted course of the connection, or null to indicate that the connection path did not need to be refreshed.

Implements

IPathfinder..::.FindPath(IDiagramConnection, IDiagramModel)

See Also