18 #ifndef _GAZEBO_GRAPH_SCENE_HH_
19 #define _GAZEBO_GRAPH_SCENE_HH_
48 public:
QGVNode *AddNode(
const std::string &_name);
52 public:
void RemoveNode(
const std::string &_name);
57 public:
bool HasNode(
const std::string &_name);
62 public:
QGVNode *GetNode(
const std::string &_name);
69 public:
QGVEdge *AddEdge(
const std::string &_id,
70 const std::string &_node1,
const std::string &_node2);
74 public:
void RemoveEdge(
const std::string &_id);
79 public:
void SetEdgeColor(
const std::string &_id,
85 private:
void drawBackground(QPainter *_painter,
const QRectF &_rect);
#define GZ_GUI_VISIBLE
Definition: system.hh:284
Node item.
Definition: QGVNode.h:34
Edge item.
Definition: QGVEdge.h:36
A scene of 2D graph nodes and edges.
Definition: GraphScene.hh:34
GraphViz interactive scene.
Definition: QGVScene.h:41
Defines a color.
Definition: Color.hh:36