3 (defmethod cl-dot:graph-object-node ((graph (eql 'example)) (object cons))
4 (make-instance 'cl-dot:node
5 :attributes '(:label "cell \\N"
7 (defmethod cl-dot:graph-object-points-to ((graph (eql 'example)) (object cons))
9 (make-instance 'cl-dot:attributed
11 :attributes '(:weight 3))))
13 (defmethod cl-dot:graph-object-node ((graph (eql 'example)) (object symbol))
14 (make-instance 'cl-dot:node
15 :attributes `(:label ,object
19 :fillcolor "#ccccff")))
20 (let* ((data '(a b c #1=(b z) c d #1#))
21 (dgraph (cl-dot:generate-graph-from-roots 'example (list data)
22 '(:rankdir "LR" :layout "twopi" :labelloc "t"))))
23 (cl-dot:dot-graph dgraph "test-lr.svg" :format #+nil :x11 :svg))
30 (dgraph (cl-dot:generate-graph-from-roots 'example (list data)
32 (cl-dot:print-graph dgraph))