graph-pane-direction graph-pane => direction
(setf graph-pane-direction) direction graph-pane => direction
The generic function
graph-pane-direction
returns the direction of the graph
graph-pane.
If the
layout-function
of
graph-pane
is
:top-down
or
:left-right
then
direction
is
:forwards
. Otherwise
direction
is
:backwards
.
The generic function (setf graph-pane-direction) maintains the dimension of the layout-function but potentially reverses its direction.
(setf gp
(make-instance 'capi:graph-pane
:layout-function :top-down))
=>
#<CAPI:GRAPH-PANE [0 items] 20603294>
(setf (capi:graph-pane-direction gp)
:backwards)
=>
NIL
(capi:graph-pane-layout-function gp)
=>
:TOP-DOWN