]> gitweb.factorcode.org Git - factor.git/commitdiff
graphviz.render: make sure to normalize paths
authorAlex Vondrak <ajvondrak@csupomona.edu>
Fri, 3 Jun 2011 22:46:52 +0000 (15:46 -0700)
committerAlex Vondrak <ajvondrak@csupomona.edu>
Fri, 3 Jun 2011 22:46:52 +0000 (15:46 -0700)
extra/graphviz/render/render.factor

index 12259712f39c5649fc17f32e668a5eadc325b087..0fd17a68b3a9f55a24e90c82bf264fbcff54e157 100644 (file)
@@ -1,8 +1,8 @@
 ! Copyright (C) 2011 Alex Vondrak.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors combinators continuations destructors
-images.viewer io.files.unique kernel locals namespaces parser
-sequences summary unicode.case words
+images.viewer io.backend io.files.unique kernel locals
+namespaces parser sequences summary unicode.case words
 graphviz.ffi
 graphviz.builder
 ;
@@ -79,7 +79,7 @@ M: unsupported-engine summary
 
 :: (graphviz) ( graph -O -T -K -- -o )
     -T check-format
-    -O -T default-extension append :> -o
+    -O -T default-extension append normalize-path :> -o
     [
         gvContext &gvFreeContext :> gvc
         graph id>> graph kind agopen &agclose :> g