| Allegro CL version 8.2 This page is new in 8.2. |
Arguments: link node node1-reader node2-reader
This utility function might be useful when using the function graph-layout to draw graphs and handle mouse events on them. See that function for more information.
This function returns the node to which a specified node is connected by a specified link. The link argument should be one of links in the list that would be passed as the links argument to graph-layout. The node argument should be one of the nodes in the list that would be passed as the nodes argument to that function. The node1-reader and node2-reader arguments should be the same as those passed to graph-layout. The node argument should be one of the two nodes of the link argument, which means that either the node1-reader or node2-reader function should return the node argument when passed the link argument. This function will return the node that is returned by the other reader argument.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 8.2 release.
Created 2016.6.21.
| Allegro CL version 8.2 This page is new in 8.2. |