Determines a path for the given IDiagramConnection. The containing IDiagramModel
            is also supplied as context, so that the implementation can plot a path that avoids other nodes or connections.
            The method returns a list of "via points" for the path, beginning with the start point of the connection end
            ending with its end point.
            
    Namespace: 
   Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
 Syntax
Syntax
| C# | 
|---|
| ReadOnlyCollection<Point> FindPath( IDiagramConnection connection, IDiagramModel diagram ) | 
| Visual Basic (Declaration) | 
|---|
| 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. Remarks
Remarks
An implementation may return null to indicate that the connection path did not
            need to be refreshed.





