Mercurial > projects > dil
diff trunk/src/docgen/tests/graphs.d @ 717:cb8edb09108a
Updated docgen (mostly) to new tango.
Reflective options.
Updated translations.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Fri, 01 Feb 2008 15:05:56 +0200 |
parents | b7503e02fbe7 |
children | ec8dd7b8bf0c |
line wrap: on
line diff
--- a/trunk/src/docgen/tests/graphs.d Thu Jan 31 21:31:47 2008 +0100 +++ b/trunk/src/docgen/tests/graphs.d Fri Feb 01 15:05:56 2008 +0200 @@ -9,7 +9,7 @@ import docgen.graphutils.writers; import docgen.page.writers; import tango.io.FileConduit; -import dil.Module; +import dil.semantic.Module; void saveDefaultGraph(Vertex[] vertices, Edge[] edges, char[] fname) { auto gen = new TestDocGenerator; @@ -22,6 +22,7 @@ auto gwf = new DefaultGraphWriterFactory(gen); auto file = new FileConduit("docgen/teststuff/" ~ fname, FileConduit.WriteCreate); auto file2 = new FileConduit("docgen/teststuff/" ~ fname ~ "-2", FileConduit.WriteCreate); + auto writer = gwf.createGraphWriter( ddf.createPageWriter( [ file2 ], DocFormat.LaTeX), GraphFormat.Dot