All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

graph-pane-object-at-position Function

Summary

Returns the graph object at a given position in a graph.

Package

capi

Signature

graph-pane-object-at-position graph-pane x y => object

Arguments
graph-pane
x, y
Non-negative numbers.
Values
object
A graph-object, or nil.
Description

The function graph-pane-object-at-position returns the graph-object (either a graph-edge or a graph-node) at the coordinates x, y in the graph graph-pane.

If there is no graph-object at position x,y then graph-pane-object-at-position returns nil.

See also

graph-pane


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27