#include <BoostedGraph.h>
Inheritance diagram for BoostedGraph:
Public Types | |
typedef adjacency_list< vecS, vecS, undirectedS, property< vertex_name_t, string > > | Graph |
typedef graph_traits< Graph >::vertex_descriptor | Vertex |
Public Member Functions | |
BoostedGraph (Window *parent, int w, int h, int drawShape=0, strconst txt="") | |
~BoostedGraph () | |
void | addNodes (map< string, vector< string > > labels) |
virtual void | DisplayFunc () |
virtual void | OnLayoutChange () |
virtual void | WindowMouseEvent (OglGui::Window *src, int msg, int but, int state, int x, int y, void *userData) |
Private Types | |
typedef vector< simple_point< double > > | PositionVec |
typedef iterator_property_map< PositionVec::iterator, property_map< Graph, vertex_index_t >::type > | PositionMap |
Private Member Functions | |
void | addNode (string label) |
void | ConnectNode (string from, string to) |
void | doInitialLayout () |
bool | doLayout () |
Private Attributes | |
PositionVec | position_vec |
PositionMap | position |
simple_point< double > | center |
map< string, pair< Vertex, OglGui::Graph * > > | nodes |
Graph | graph |
bool | initialLayoutDone |
bool | layoutDone |
bool | dragging |
ILOG_VAR_DEC |
Definition at line 21 of file BoostedGraph.h.