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

simple-network-pane Class

Summary

A graph pane which arranges its nodes in a grid.

Package

capi

Superclasses

graph-pane

Initargs
:x-gap
The horizontal node spacing.
:y-gap
The vertical node spacing.
Description

The class simple-network-pane provides a graph which lays out its nodes in a rectangular grid by a simple algorithm.

The default values of x-gap and y-gap are 200 and 100 respectively.

simple-network-pane is a subclass of choice, so for details of its selection handling, see choice.

Examples
(example-edit-file "capi/graphics/network")

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