All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

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

A graph-pane .

Values

object

A graph-object, or nil .

x , y

Non-negative numbers.

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 Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex