Mercurial > projects > dil
diff trunk/src/docgen/graphutils/writers.d @ 454:dbdc9fa5d479
depgraph fixes, better design for multiple doctargets.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Fri, 26 Oct 2007 01:04:09 +0200 |
parents | 3f44c38bf870 |
children | 33a4cb255fcc |
line wrap: on
line diff
--- a/trunk/src/docgen/graphutils/writers.d Thu Oct 25 01:08:38 2007 +0300 +++ b/trunk/src/docgen/graphutils/writers.d Fri Oct 26 01:04:09 2007 +0200 @@ -14,8 +14,8 @@ super(generator); } - GraphWriter createGraphWriter(DocumentWriter writer) { - switch (options.graph.graphFormat) { + GraphWriter createGraphWriter(DocumentWriter writer, GraphFormat outputFormat) { + switch (outputFormat) { case GraphFormat.Dot: return new DotWriter(this, writer); case GraphFormat.ModuleNames: @@ -26,4 +26,4 @@ throw new Exception("Graph writer type does not exist!"); } } -} \ No newline at end of file +}