Applies an algorithm to the currently active graph
in the application.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Graph ApplyAlgorithm( IGraphAlgorithm alg )
Function ApplyAlgorithm ( _ alg As IGraphAlgorithm _ ) As Graph
Graph^ ApplyAlgorithm( IGraphAlgorithm^ alg )
Parameters
- alg (IGraphAlgorithm)
- The algorithm to be applied
Return Value
The resulting graph, or null if there is no active graph.