graph_displayer_canvas.h
changeset 158 aa50a64b3a6e
parent 156 c5cdf6690cdf
child 160 14a76109b561
equal deleted inserted replaced
40:97604cdb2ae0 41:707d1e323119
   285 
   285 
   286   ///Returns the actual tool in hand
   286   ///Returns the actual tool in hand
   287   int getActualTool();
   287   int getActualTool();
   288 
   288 
   289   ///Sets node representation settings
   289   ///Sets node representation settings
   290   void setNodeView(bool, bool, double, double, double);
   290   void setView(bool, bool, double, double);
   291 
   291 
   292   ///Gets node representation settings
   292   ///Gets node representation settings
   293   void getNodeView(bool &, bool &, double&, double&, double&);
   293   void getView(bool &, bool &, double&, double&);
   294 
   294 
   295   ///draws the graph
   295   ///draws the graph
   296 
   296 
   297   ///Called when opening a file.
   297   ///Called when opening a file.
   298   void drawGraph();
   298   void drawGraph();
   390   bool zoomtrack;
   390   bool zoomtrack;
   391 
   391 
   392   ///to store the zoom factor when it was "fixed"
   392   ///to store the zoom factor when it was "fixed"
   393   double fixed_zoom_factor;
   393   double fixed_zoom_factor;
   394   
   394   
   395   ///Minimum node radius
   395   ///Node radius size
   396   double radius_min;
   396   double radius_size;
   397 
   397 
   398   ///Maximum node radius
   398   ///Edge width
   399   double radius_max;
   399   double edge_width;
   400 
       
   401   ///Node radius unit
       
   402   double radius_unit;
       
   403 
   400 
   404 private:
   401 private:
   405 
   402 
   406   ///reference to the container, in which the canvas is
   403   ///reference to the container, in which the canvas is
   407   NoteBookTab & mytab;
   404   NoteBookTab & mytab;