1 #ifndef GRAPH_ANALYSIS_GUI_GRAPHWIDGET_H 2 #define GRAPH_ANALYSIS_GUI_GRAPHWIDGET_H 4 #include "../Graph.hpp" 9 #include <QGraphicsView> 15 class PlayerConfiguration;
38 virtual QString
getClassName()
const {
return "graph_analysis::gui::GraphWidget"; }
44 typedef std::map<const graph_analysis::Edge::Ptr, EdgeItemBase*>
50 typedef std::map<const graph_analysis::Vertex::Ptr, VertexItemBase*>
89 typedef std::map<const graph_analysis::Vertex::Ptr, QPointF>
140 throw std::runtime_error(
141 "graph_analysis::gui::GraphWidget::populateCanvas: not implemented");
161 virtual void updateStatus(
const std::string& msg,
int timeInMS = 10);
176 virtual void refresh(
bool all =
true);
251 #endif // GRAPH_ANALYSIS_GUI_GRAPHWIDGET_H
Definition: PlayerConfiguration.hpp:9
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
Definition: Player.hpp:44
shared_ptr< Vertex > Ptr
Definition: Vertex.hpp:22
shared_ptr< GraphElement > Ptr
Definition: GraphElement.hpp:46
standard implementation of graphical nodes for an Edge
Definition: EdgeItemBase.hpp:28
shared_ptr< BaseGraph > Ptr
Definition: BaseGraph.hpp:34
graphical node representation interface
Definition: VertexItemBase.hpp:26