GraphTool
1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
|
#include <graph_exporter.h>
Public Member Functions | |
GraphExporter (std::ostream &stream, GraphType &g) | |
void | write_graphml (GraphProperties< GraphType > *extra_properties=0) |
Write graphml output of the generated graph to the given stream. | |
void | write_graphviz (GraphProperties< GraphType > *extra_properties=0) |
void | write_csv () |
Export to CSV. | |
Class to enable exports of Graphs containing Dependency information. All data in the graph needs to be stored as pointers for this exporting routine to work. That is both Edges and Nodes should be pointers to values.
Expects as a parameter a Grapher which contains pointers to nodes with attribute dependencies(), depdents() and name(). Also expects edges to have the property absolute()
|
inline |
Write graphviz output of the generated graph to the given stream
extra_properties | An optional set of properties to include when outputting the graph. |