33 QGVScene* new_QGVScene(
const QString &name, QObject *parent = NULL);
34 void delete_QGVScene(QGVScene* s);
36 void setGraphAttribute(QGVScene* s,
const QString &name,
const QString &value);
37 void setNodeAttribute (QGVScene* s,
const QString &name,
const QString &value);
38 void setEdgeAttribute (QGVScene* s,
const QString &name,
const QString &value);
40 QGVNode* addNode(QGVScene* s,
const QString& label);
41 QGVEdge* addEdge(QGVScene* s, QGVNode* source, QGVNode* target,
const QString label = QString());
42 QGVSubGraph* addSubGraph(QGVScene* s,
const QString& name,
bool cluster=
true);
44 void setRootNode(QGVScene* s, QGVNode *node);
45 void setNodePositionAttribute (QGVScene* s);
47 void loadLayout (QGVScene* s,
const QString &text);
48 void applyLayout(QGVScene* s,
const QString &algorithm =
"dot");
49 void render (QGVScene* s,
const QString &algorithm);
50 void render (QGVScene* s,
const QString &algorithm,
const QString file);
51 bool writeGraph (QGVScene* s,
const QString &filename);
52 void freeLayout (QGVScene* s);
53 void clear (QGVScene* s);
57 void setAttribute (QGVSubGraph* n,
const QString &name,
const QString &value);
58 QString getAttribute (QGVSubGraph* n,
const QString &name);
60 QGVNode* addNode(QGVSubGraph* s,
const QString& label);
61 QGVSubGraph* addSubGraph(QGVSubGraph* s,
const QString& name,
bool cluster=
true);
65 void setAttribute (QGVNode* n,
const QString &name,
const QString &value);
66 QString getAttribute (QGVNode* n,
const QString &name);
70 void setAttribute (QGVEdge* e,
const QString &name,
const QString &value);
71 QString getAttribute (QGVEdge* e,
const QString &name);
Definition: decorator.hh:26
Definition: decorator.hh:25
void registerQGV()
Register QGV to PythonQt.