graph_displayer_canvas.h
changeset 183 48580778851e
parent 177 40f3006fba2e
child 184 4e8704aae278
equal deleted inserted replaced
46:0aee4d5d12ed 47:5d260c584b1d
   143   GraphDisplayerCanvas(NoteBookTab & nbt);
   143   GraphDisplayerCanvas(NoteBookTab & nbt);
   144 
   144 
   145   ///destructor of the class
   145   ///destructor of the class
   146   virtual ~GraphDisplayerCanvas();
   146   virtual ~GraphDisplayerCanvas();
   147 
   147 
       
   148   ///Returns a color of the rainbow based on a map value and the min and max value of the given map
       
   149 
       
   150   ///min and max is purple, between them there is a linear assign
       
   151   Gdk::Color rainbowColorCounter(double, double, double);
       
   152 
   148   ///Changes the width of edge(s) according to the given map.
   153   ///Changes the width of edge(s) according to the given map.
   149 
   154 
   150   ///\param mapname is the name of the map which contains the values to be set
   155   ///\param mapname is the name of the map which contains the values to be set
   151   ///\param edge if it is given, only the width of the given edge will be set, instead of all of them.
   156   ///\param edge if it is given, only the width of the given edge will be set, instead of all of them.
   152   int changeEdgeWidth (std::string mapname, Edge edge=INVALID);
   157   int changeEdgeWidth (std::string mapname, Edge edge=INVALID);