Provides methods that help you find paths and cycles in a graph.
Namespace: MindFusion.Diagramming
File: 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. If the diagram structure changes, you must create a new PathFinder instance in order to use the new structure of diagram's graph.
MindFusion.Diagramming.PathFinder
MindFusion.Diagramming for JavaScript Programmer's Guide | © 2024 MindFusion |