22 virtual ~GraphDisplayerCanvas(); |
22 virtual ~GraphDisplayerCanvas(); |
23 |
23 |
24 ///Changes the linewidth attribute according to the given map. |
24 ///Changes the linewidth attribute according to the given map. |
25 ///\param mapname is the name of the map which contains the new values |
25 ///\param mapname is the name of the map which contains the new values |
26 int changeEdgeWidth (std::string mapname, Edge new_item=INVALID); |
26 int changeEdgeWidth (std::string mapname, Edge new_item=INVALID); |
|
27 int resetEdgeWidth (Edge new_item=INVALID); |
27 |
28 |
28 ///Changes the linecolor attribute according to the given map. |
29 ///Changes the linecolor attribute according to the given map. |
29 ///\param mapname is the name of the map which contains the new values |
30 ///\param mapname is the name of the map which contains the new values |
30 int changeEdgeColor (std::string mapname, Edge new_item=INVALID); |
31 int changeEdgeColor (std::string mapname, Edge new_item=INVALID); |
|
32 int resetEdgeColor (Edge new_item=INVALID); |
31 |
33 |
32 ///Changes the text of line attribute according to the given map. |
34 ///Changes the text of line attribute according to the given map. |
33 ///\param mapname is the name of the map which contains the new values |
35 ///\param mapname is the name of the map which contains the new values |
34 int changeEdgeText (std::string mapname, Edge new_item=INVALID); |
36 int changeEdgeText (std::string mapname, Edge new_item=INVALID); |
|
37 int resetEdgeText (Edge new_item=INVALID); |
35 |
38 |
36 ///Changes the linewidth attribute according to the given map. |
39 ///Changes the linewidth attribute according to the given map. |
37 ///\param mapname is the name of the map which contains the new values |
40 ///\param mapname is the name of the map which contains the new values |
38 int changeNodeRadius (std::string mapname, Node new_item=INVALID); |
41 int changeNodeRadius (std::string mapname, Node new_item=INVALID); |
|
42 int resetNodeRadius (Node new_item=INVALID); |
39 |
43 |
40 ///Changes the linecolor attribute according to the given map. |
44 ///Changes the linecolor attribute according to the given map. |
41 ///\param mapname is the name of the map which contains the new values |
45 ///\param mapname is the name of the map which contains the new values |
42 int changeNodeColor (std::string mapname, Node new_item=INVALID); |
46 int changeNodeColor (std::string mapname, Node new_item=INVALID); |
|
47 int resetNodeColor (Node new_item=INVALID); |
43 |
48 |
44 ///Changes the text of line attribute according to the given map. |
49 ///Changes the text of line attribute according to the given map. |
45 ///\param mapname is the name of the map which contains the new values |
50 ///\param mapname is the name of the map which contains the new values |
46 int changeNodeText (std::string mapname, Node new_item=INVALID); |
51 int changeNodeText (std::string mapname, Node new_item=INVALID); |
|
52 int resetNodeText (Node new_item=INVALID); |
47 |
53 |
48 ///Callback for 'ViewZoomIn' action. |
54 ///Callback for 'ViewZoomIn' action. |
49 virtual void zoomIn(); |
55 virtual void zoomIn(); |
50 ///Callback for 'ViewZoomOut' action. |
56 ///Callback for 'ViewZoomOut' action. |
51 virtual void zoomOut(); |
57 virtual void zoomOut(); |