Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## other-node

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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version