chickadee » graphs » graph->list

(graph->list (G <graph>)) [[DEPRECATED]]method

NOTE: As of Release 0.4 this function is deprecated. It will likely be removed in the coming releases.

Converts a graph-type object into an adjacency-list type format. Currently provides something along the lines of:

'((a {(b . <hash-table>) (c . <hash-table>)})
  (b {(a . <hash-table>)})
  (c {(a . <hash-table>)}))

Where each hash-table is the properties of the edge. This was initially done to provide as sane means of displaying the adjacency table, but should not be relied upon in most cases.