The psgraph Reference Manual

This is the psgraph Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:37:28 2024 GMT+0.

Table of Contents


1 Systems

The main system appears first, followed by any subsystem dependency.


1.1 psgraph

PostScript DAG Grapher.

Author

Joseph Bates, Carnegie Mellon University

License

Public Domain

Long Description

The PSGrapher is a set of Lisp routines that can
be called to produce PostScript commands that display a directed acyclic graph.

Source

psgraph.asd.

Child Component

psgraph.lisp (file).


2 Files

Files are sorted by type and then listed depth-first from the systems components trees.


2.1 Lisp


2.1.1 psgraph/psgraph.asd

Source

psgraph.asd.

Parent Component

psgraph (system).

ASDF Systems

psgraph.

Packages

psgraph-system.


2.1.2 psgraph/psgraph.lisp

Source

psgraph.asd.

Parent Component

psgraph (system).

Packages

psgraph.

Public Interface
Internals

3 Packages

Packages are listed by definition order.


3.1 psgraph-system

Source

psgraph.asd.

Use List
  • asdf/interface.
  • common-lisp.

3.2 psgraph

Source

psgraph.lisp.

Use List

common-lisp.

Public Interface
Internals

4 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


4.1 Public Interface


4.1.1 Special variables

Special Variable: *boxedge*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *boxgray*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *boxkind*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *boxradius*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *chunksize*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *edgecap*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *edgegray*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *edgewidth*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *extra-x-spacing*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *extra-y-spacing*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *fontname*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *fontsize*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *pageheight*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *pagewidth*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *second-fontname*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *second-fontsize*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *textgray*
Package

psgraph.

Source

psgraph.lisp.


4.1.2 Ordinary functions

Function: psgraph (stream root childf infof &optional shrink insert test same-height)
Package

psgraph.

Source

psgraph.lisp.


4.2 Internals


4.2.1 Special variables

Special Variable: *ancestor-cache*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *narray*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *num-psnodes*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *psnode-index*
Package

psgraph.

Source

psgraph.lisp.

Special Variable: *top-sort*
Package

psgraph.

Source

psgraph.lisp.


4.2.2 Ordinary functions

Function: ancestor (x y)
Package

psgraph.

Source

psgraph.lisp.

Function: copy-psnode (instance)
Package

psgraph.

Source

psgraph.lisp.

Function: make-psnode (&key name info children parents appears-in-top-sort children-appear-in-top-sort yvalue height)
Package

psgraph.

Source

psgraph.lisp.

Reader: psnode-appears-in-top-sort (instance)
Writer: (setf psnode-appears-in-top-sort) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

appears-in-top-sort.

Reader: psnode-children (instance)
Writer: (setf psnode-children) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

children.

Reader: psnode-children-appear-in-top-sort (instance)
Writer: (setf psnode-children-appear-in-top-sort) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

children-appear-in-top-sort.

Reader: psnode-height (instance)
Writer: (setf psnode-height) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

height.

Reader: psnode-info (instance)
Writer: (setf psnode-info) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

info.

Reader: psnode-name (instance)
Writer: (setf psnode-name) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

name.

Function: psnode-p (object)
Package

psgraph.

Source

psgraph.lisp.

Reader: psnode-parents (instance)
Writer: (setf psnode-parents) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

parents.

Reader: psnode-yvalue (instance)
Writer: (setf psnode-yvalue) (instance)
Package

psgraph.

Source

psgraph.lisp.

Target Slot

yvalue.

Package

psgraph.

Source

psgraph.lisp.

Function: top-sort-node (index)
Package

psgraph.

Source

psgraph.lisp.

Function: top-sort-parent (index)
Package

psgraph.

Source

psgraph.lisp.

Function: walk-graph (root child-function info-function)
Package

psgraph.

Source

psgraph.lisp.


4.2.3 Structures

Structure: psnode
Package

psgraph.

Source

psgraph.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: name
Readers

psnode-name.

Writers

(setf psnode-name).

Slot: info
Type

list

Initform

(quote nil)

Readers

psnode-info.

Writers

(setf psnode-info).

Slot: children
Type

list

Initform

(quote nil)

Readers

psnode-children.

Writers

(setf psnode-children).

Slot: parents
Type

list

Initform

(quote nil)

Readers

psnode-parents.

Writers

(setf psnode-parents).

Slot: appears-in-top-sort
Type

(member nil t)

Readers

psnode-appears-in-top-sort.

Writers

(setf psnode-appears-in-top-sort).

Slot: children-appear-in-top-sort
Type

(member nil t)

Readers

psnode-children-appear-in-top-sort.

Writers

(setf psnode-children-appear-in-top-sort).

Slot: yvalue
Type

fixnum

Initform

0

Readers

psnode-yvalue.

Writers

(setf psnode-yvalue).

Slot: height
Type

fixnum

Initform

0

Readers

psnode-height.

Writers

(setf psnode-height).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   C   F   M   P   R   T   W  
Index Entry  Section

(
(setf psnode-appears-in-top-sort): Private ordinary functions
(setf psnode-children): Private ordinary functions
(setf psnode-children-appear-in-top-sort): Private ordinary functions
(setf psnode-height): Private ordinary functions
(setf psnode-info): Private ordinary functions
(setf psnode-name): Private ordinary functions
(setf psnode-parents): Private ordinary functions
(setf psnode-yvalue): Private ordinary functions

A
ancestor: Private ordinary functions

C
copy-psnode: Private ordinary functions

F
Function, (setf psnode-appears-in-top-sort): Private ordinary functions
Function, (setf psnode-children): Private ordinary functions
Function, (setf psnode-children-appear-in-top-sort): Private ordinary functions
Function, (setf psnode-height): Private ordinary functions
Function, (setf psnode-info): Private ordinary functions
Function, (setf psnode-name): Private ordinary functions
Function, (setf psnode-parents): Private ordinary functions
Function, (setf psnode-yvalue): Private ordinary functions
Function, ancestor: Private ordinary functions
Function, copy-psnode: Private ordinary functions
Function, make-psnode: Private ordinary functions
Function, psgraph: Public ordinary functions
Function, psnode-appears-in-top-sort: Private ordinary functions
Function, psnode-children: Private ordinary functions
Function, psnode-children-appear-in-top-sort: Private ordinary functions
Function, psnode-height: Private ordinary functions
Function, psnode-info: Private ordinary functions
Function, psnode-name: Private ordinary functions
Function, psnode-p: Private ordinary functions
Function, psnode-parents: Private ordinary functions
Function, psnode-yvalue: Private ordinary functions
Function, related-classes: Private ordinary functions
Function, top-sort-node: Private ordinary functions
Function, top-sort-parent: Private ordinary functions
Function, walk-graph: Private ordinary functions

M
make-psnode: Private ordinary functions

P
psgraph: Public ordinary functions
psnode-appears-in-top-sort: Private ordinary functions
psnode-children: Private ordinary functions
psnode-children-appear-in-top-sort: Private ordinary functions
psnode-height: Private ordinary functions
psnode-info: Private ordinary functions
psnode-name: Private ordinary functions
psnode-p: Private ordinary functions
psnode-parents: Private ordinary functions
psnode-yvalue: Private ordinary functions

R
related-classes: Private ordinary functions

T
top-sort-node: Private ordinary functions
top-sort-parent: Private ordinary functions

W
walk-graph: Private ordinary functions


A.3 Variables

Jump to:   *  
A   C   H   I   N   P   S   Y  
Index Entry  Section

*
*ancestor-cache*: Private special variables
*boxedge*: Public special variables
*boxgray*: Public special variables
*boxkind*: Public special variables
*boxradius*: Public special variables
*chunksize*: Public special variables
*edgecap*: Public special variables
*edgegray*: Public special variables
*edgewidth*: Public special variables
*extra-x-spacing*: Public special variables
*extra-y-spacing*: Public special variables
*fontname*: Public special variables
*fontsize*: Public special variables
*narray*: Private special variables
*num-psnodes*: Private special variables
*pageheight*: Public special variables
*pagewidth*: Public special variables
*psnode-index*: Private special variables
*second-fontname*: Public special variables
*second-fontsize*: Public special variables
*textgray*: Public special variables
*top-sort*: Private special variables

A
appears-in-top-sort: Private structures

C
children: Private structures
children-appear-in-top-sort: Private structures

H
height: Private structures

I
info: Private structures

N
name: Private structures

P
parents: Private structures

S
Slot, appears-in-top-sort: Private structures
Slot, children: Private structures
Slot, children-appear-in-top-sort: Private structures
Slot, height: Private structures
Slot, info: Private structures
Slot, name: Private structures
Slot, parents: Private structures
Slot, yvalue: Private structures
Special Variable, *ancestor-cache*: Private special variables
Special Variable, *boxedge*: Public special variables
Special Variable, *boxgray*: Public special variables
Special Variable, *boxkind*: Public special variables
Special Variable, *boxradius*: Public special variables
Special Variable, *chunksize*: Public special variables
Special Variable, *edgecap*: Public special variables
Special Variable, *edgegray*: Public special variables
Special Variable, *edgewidth*: Public special variables
Special Variable, *extra-x-spacing*: Public special variables
Special Variable, *extra-y-spacing*: Public special variables
Special Variable, *fontname*: Public special variables
Special Variable, *fontsize*: Public special variables
Special Variable, *narray*: Private special variables
Special Variable, *num-psnodes*: Private special variables
Special Variable, *pageheight*: Public special variables
Special Variable, *pagewidth*: Public special variables
Special Variable, *psnode-index*: Private special variables
Special Variable, *second-fontname*: Public special variables
Special Variable, *second-fontsize*: Public special variables
Special Variable, *textgray*: Public special variables
Special Variable, *top-sort*: Private special variables

Y
yvalue: Private structures