Finds the first edge in the current node's edge list that goes to the specified ANode parameter. If no edge goes to the node, the function returns -1.
Namespace: GGraph
Delphi |
public |
Parameters
ANode
Type: TGGraphNode
Type: Integer
The following code uses the IndexOfEdgeTo method to determine what nodes point to ANode: Delphi |
begin |