Provides methods that help you find paths and cycles in a graph.
Namespace: MindFusion.Diagramming
Package: PathFinder.js
JavaScript Copy Code |
---|
// class |
The direction of links is taken into account when looking for paths or cycles.
A path-finder object caches graph information between method calls in order to achieve better performance when path and cycle -finding methods are called on the same diagram more than once. However if the diagram structure changes, you must create a new PathFinder instance in order to use the new structure of the diagram graph.