equal
deleted
inserted
replaced
266 ///event handler for the case when eraser-tool is active |
266 ///event handler for the case when eraser-tool is active |
267 bool eraserEventHandler(GdkEvent*); |
267 bool eraserEventHandler(GdkEvent*); |
268 ///event handler for the case when map editor tool is active |
268 ///event handler for the case when map editor tool is active |
269 bool mapEditEventHandler(GdkEvent*); |
269 bool mapEditEventHandler(GdkEvent*); |
270 |
270 |
|
271 private: |
|
272 ///moves node according to the given parameters |
|
273 void moveNode(double, double, Gnome::Canvas::Item * item=NULL, Node node=INVALID); |
|
274 |
271 public: |
275 public: |
272 ///Moves the text to new place |
276 ///Moves the text to new place |
273 void textReposition(XY); |
277 void textReposition(XY); |
274 |
278 |
275 ///Activates an edge belonging to an EdgeBase |
279 ///Activates an edge belonging to an EdgeBase |
311 ///creates a new Edgemap |
315 ///creates a new Edgemap |
312 |
316 |
313 ///\param init initial value of the map |
317 ///\param init initial value of the map |
314 ///\param mapname name of new map |
318 ///\param mapname name of new map |
315 int addNewEdgeMap(double init,std::string mapname); |
319 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); |
316 |
327 |
317 private: |
328 private: |
318 ///Deletes the given element. |
329 ///Deletes the given element. |
319 void deleteItem(Node); |
330 void deleteItem(Node); |
320 ///Deletes the given element. |
331 ///Deletes the given element. |
396 double radius_size; |
407 double radius_size; |
397 |
408 |
398 ///Edge width |
409 ///Edge width |
399 double edge_width; |
410 double edge_width; |
400 |
411 |
|
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 |
401 private: |
421 private: |
402 |
422 |
403 ///reference to the container, in which the canvas is |
423 ///reference to the container, in which the canvas is |
404 NoteBookTab & mytab; |
424 NoteBookTab & mytab; |
405 |
425 |