Mercurial > projects > dil
diff trunk/src/docgen/graphutils/modulepathwriter.d @ 729:ec8dd7b8bf0c
Updated graph type.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Sun, 03 Feb 2008 19:43:53 +0200 |
parents | db7e27b5c180 |
children |
line wrap: on
line diff
--- a/trunk/src/docgen/graphutils/modulepathwriter.d Sat Feb 02 23:17:14 2008 +0100 +++ b/trunk/src/docgen/graphutils/modulepathwriter.d Sun Feb 03 19:43:53 2008 +0200 @@ -15,10 +15,13 @@ super(factory, writer); } - void generateDepGraph(Vertex[] vertices, Edge[] edges, OutputStream imageFile) { + void generateDepGraph(DepGraph depGraph, OutputStream imageFile) { char[][] contents; - void doList(Vertex[] v, uint level) { + auto edges = depGraph.edges; + auto vertices = depGraph.vertices; + + void doList(DepGraph.Vertex[] v, uint level) { if (!level) return; contents ~= "(";