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

graph-pane-select-graph-nodes Generic Function

Summary

Selects nodes in a graph according to a predicate.

Package

capi

Signature

graph-pane-select-graph-nodes graph-pane predicate

Arguments
graph-pane
predicate
A function of one argument with boolean result.
Description

The generic function graph-pane-select-graph-nodes applies predicate to all of the graph-nodes in graph-pane, and sets the selected-items to be the objects corresponding to those nodes for which predicate returns a true value.

See also

choice-selected-items
graph-node
graph-pane


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57