Go to the documentation of this file. 1 #ifndef GRAPH_ANALYSIS_EDGE_ITEM_TYPE_MANAGER_HPP
2 #define GRAPH_ANALYSIS_EDGE_ITEM_TYPE_MANAGER_HPP
4 #include <base-logging/Singleton.hpp>
58 QGraphicsItem* parent,
59 const std::string& type = std::string());
66 #endif // GRAPH_ANALYSIS_EDGE_ITEM_TYPE_MANAGER_HPP
std::map< edge::Type, EdgeItemBase * > ClassVisualizationMap
Definition: EdgeItemTypeManager.hpp:30
factory for EdgeItem-s: clones different types of EdgeItem instances (i.e. graphical edges)
Definition: EdgeItemTypeManager.hpp:27
standard implementation of graphical nodes for an Edge
Definition: EdgeItemBase.hpp:28
EdgeItemTypeManager()
constructor
Definition: EdgeItemTypeManager.cpp:10
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< Edge > Ptr
Definition: Edge.hpp:21
EdgeItemBase * createItem(GraphWidget *graphWidget, const graph_analysis::Edge::Ptr &edge, QGraphicsItem *parent, const std::string &type=std::string())
clones a new graphical edge of a specified type
Definition: EdgeItemTypeManager.cpp:37
void registerVisualization(const edge::Type &type, EdgeItemBase *graphicsItem)
Definition: EdgeItemTypeManager.cpp:15
std::string Type
Definition: EdgeItemTypeManager.hpp:15
QStringList getSupportedTypes() const
Definition: EdgeItemTypeManager.cpp:48
graphical node representation interface
Definition: VertexItemBase.hpp:26