Page 171 Table of Contents Index Page 173
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 18. GRAPH FORMATTING

Returns true if object is a graph output record, otherwise returns false.

=> standard-graph-output-record [Class]
The instantiable class of output record that represents a graph. Its children will be a sequence
graph nodes. This is a subclass of graph-output-record.

=> :orientation [Init Arg]
=> :center-nodes [Init Arg]
=> :cutoff-depth [Init Arg]
=> :merge-duplicates [Init Arg]
=> :generation-separation [Init Arg]
=> :within-generation-separation [Init Arg]
=> :hash-table [Init Arg]
All the graph output record must handle these seven initargs, which are used to specify, respec-
tively, the orientation, node centering, cutoff depth, merge duplicates, generation and within-
generation spacing, and the node hash table of a graph output record.

=> define-graph-type graph-type class [Macro]
Defines a new graph type named by the symbol graph-type that is implemented by the class
class. class must be a subclass of graph-output-record. Neither of the arguments is evaluated.

All CLIM implementations must support graphs of type :tree, :directed-graph (and its syn-
onym :digraph), and :directed-acyclic-graph (and its synonym :dag).

=> graph-root-nodes graph-record [Generic Function]
Returns a sequence of the graph node output records corresponding to the root objects for the
graph output record graph-record.

=> (setf graph-root-nodes) roots graph-record [Generic Function]
Sets the root nodes of graph-record to roots.

=> generate-graph-nodes graph-record stream root-objects object-printer inferior-producer &key
duplicate-key duplicate-test [Generic Function]
This function is responsible for generating all of the graph node output records of the graph.
graph-record is the graph output record, and stream is the output stream. The graph node output
records are generating by calling the object printer on the root objects, then (recursively) calling
the inferior producer on the root objects and calling the object printer on all inferiors. After
all of the graph node output records have been generated, the value of graph-root-nodes of
graph-record must be set to be a sequence of the those graph node output records that correspond
to the root objects.

root-objects, object-printer, inferior-producer, duplicate-key, and duplicate-test are as for format-
graph-from-roots
.

=> layout-graph-nodes graph-record stream [Generic Function]


Page 171 Table of Contents Index Page 173
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E