COIN-OR::LEMON - Graph Library

Changeset 160:14a76109b561 in glemon-0.x for graph_displayer_canvas.h


Ignore:
Timestamp:
10/12/06 13:39:29 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2982
Message:

Node antigravity and edge elasticity based graph layout redesigner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graph_displayer_canvas.h

    r157 r160  
    269269  bool mapEditEventHandler(GdkEvent*);
    270270
     271private:
     272  ///moves node according to the given parameters
     273  void moveNode(double, double,  Gnome::Canvas::Item * item=NULL, Node node=INVALID);
     274
    271275public:
    272276  ///Moves the text to new place
     
    314318  ///\param mapname name of new map
    315319  int addNewEdgeMap(double init,std::string mapname);
     320
     321  void reDesignGraph();
     322
     323  void get_design_data(double &, double &, int &);
     324  void set_attraction(double);
     325  void set_propulsation(double);
     326  void set_iteration(int);
    316327
    317328private:
     
    399410  double edge_width;
    400411
     412  ///Iteration number during graph design
     413  int iterations;
     414
     415  ///Attraction factor during graph design
     416  double attraction;
     417
     418  ///Propulsation factor during graph design
     419  double propulsation;
     420 
    401421private:
    402422
Note: See TracChangeset for help on using the changeset viewer.