#include <graphvizwrapper.h>
Public Member Functions | |
GVGraph () | |
~GVGraph () | |
bool | addEdge (const QString &s1, const QString &s2, const QString &l) |
bool | addNode (const QString &name) |
int | getEdgeCount () const |
QSharedPointer< IGVNode > | getFirstNode () const |
QSharedPointer< IGVNode > | getLastNode () const |
QSharedPointer< IGVNode > | getNode (const QString &name) const |
int | getNodeCount () const |
void | layoutGraphUsingDot () |
void | renderToFile (const QString &fileName) |
Private Attributes | |
Agraph_t * | m_graph |
GVC_t * | m_gvc |
bool | m_layout |
Definition at line 55 of file graphvizwrapper.h.
GVGraph::GVGraph | ( | ) |
Definition at line 129 of file graphvizwrapper.cpp.
GVGraph::~GVGraph | ( | ) |
bool GVGraph::addEdge | ( | const QString & | s1, | |
const QString & | s2, | |||
const QString & | l | |||
) | [virtual] |
bool GVGraph::addNode | ( | const QString & | name | ) | [virtual] |
Implements IGVGraph.
Definition at line 166 of file graphvizwrapper.cpp.
int GVGraph::getEdgeCount | ( | ) | const [virtual] |
QSharedPointer< IGVNode > GVGraph::getFirstNode | ( | ) | const [virtual] |
QSharedPointer< IGVNode > GVGraph::getLastNode | ( | ) | const [virtual] |
QSharedPointer< IGVNode > GVGraph::getNode | ( | const QString & | name | ) | const [virtual] |
int GVGraph::getNodeCount | ( | ) | const [virtual] |
void GVGraph::layoutGraphUsingDot | ( | ) | [virtual] |
Implements IGVGraph.
Definition at line 148 of file graphvizwrapper.cpp.
References m_graph, m_gvc, and m_layout.
Referenced by renderToFile().
void GVGraph::renderToFile | ( | const QString & | fileName | ) | [virtual] |
Implements IGVGraph.
Definition at line 159 of file graphvizwrapper.cpp.
References layoutGraphUsingDot(), m_graph, m_gvc, and m_layout.
Agraph_t* GVGraph::m_graph [private] |
Definition at line 74 of file graphvizwrapper.h.
Referenced by addEdge(), addNode(), getEdgeCount(), getFirstNode(), getLastNode(), getNode(), getNodeCount(), GVGraph(), layoutGraphUsingDot(), renderToFile(), and ~GVGraph().
GVC_t* GVGraph::m_gvc [private] |
Definition at line 75 of file graphvizwrapper.h.
Referenced by GVGraph(), layoutGraphUsingDot(), renderToFile(), and ~GVGraph().
bool GVGraph::m_layout [private] |
Definition at line 76 of file graphvizwrapper.h.
Referenced by layoutGraphUsingDot(), renderToFile(), and ~GVGraph().