Returns or sets the direction of a graph.
capi
graph-pane-direction graph-pane => direction
(setf graph-pane-direction) direction graph-pane => direction
| graph-pane⇩ | 
A graph-pane. | 
| direction⇩ | 
One of  :forwardsor:backwards. | 
| direction⇩ | 
One of  :forwardsor:backwards. | 
The accessor graph-pane-direction accesses 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 setter (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
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42