Skip to content

Commit

Permalink
Use the new graphviz.
Browse files Browse the repository at this point in the history
  • Loading branch information
klutometis committed Aug 18, 2013
1 parent 06bfe7a commit 652effb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aima-csp-core.scm
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ nodes as a hash-table."
(let ((points (hash-table-keys map))
(edges (make-hash-table)))
(lambda ()
(write-dot-preamble)
(write-graph-preamble)
(let ((labels (make-labels points)))
(for-each (lambda (point)
(write-node (hash-table-ref labels point)
Expand All @@ -451,7 +451,7 @@ nodes as a hash-table."
(let ((whither-label (hash-table-ref labels whither)))
(write-edge whence-label whither-label))))
whithers)))))
(write-dot-postscript)))))
(write-graph-postamble)))))

(define (write-map-as-png map solution png)
(let ((dot (create-temporary-file)))
Expand Down

0 comments on commit 652effb

Please sign in to comment.