23 #include <QGraphicsItem>
42 QGVNode* addNode(
const QString& label);
43 QGVSubGraph* addSubGraph(
const QString& name,
bool cluster =
true);
45 QRectF boundingRect()
const;
46 void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
48 void setAttribute(
const QString &name,
const QString &value);
49 QString getAttribute(
const QString &name)
const;
52 enum { Type = UserType + 4 };
62 double _height, _width;
71 QList<QGVNode*> _nodes;
friend class QGVSubGraph
Definition: QGVScene.h:99
Node item.
Definition: QGVNode.h:33
Definition: QGVGraphPrivate.h:24
Edge item.
Definition: QGVEdge.h:34
SubGraph item.
Definition: QGVSubGraph.h:35
int type() const
Definition: QGVSubGraph.h:53
GraphViz interactive scene.
Definition: QGVScene.h:40
#define QGVCORE_EXPORT
Definition: qgv.h:33