List of all members.
Detailed Description
Definition at line 43 of file YGraph.h.
Constructor & Destructor Documentation
YGraph::YGraph |
( |
YWidget * |
parent, |
|
|
const std::string & |
filename, |
|
|
const std::string & |
layoutAlgorithm |
|
) |
| [protected] |
Constructor.
Loads a graph in DOT format from filename and uses the layout algorithm layoutAlgorithm to layout and then render the graph. The layout algorithm can be any string accepted by the function gvLayout from graphviz, e.g. "dot" or "neato".
Definition at line 44 of file YGraph.cc.
Constructor.
Renders the graph. The graph must already contain layout information.
Definition at line 53 of file YGraph.cc.
Member Function Documentation
Return name of activated node. Activation can happen due to e.g. single right mouse click (context menu) or double left mouse click.
Definition at line 106 of file YGraph.cc.
Return the filename that describes the graph.
Definition at line 69 of file YGraph.cc.
Get a property. Reimplemented from YWidget.
This method may throw YUIPropertyExceptions.
Reimplemented from YWidget.
Definition at line 151 of file YGraph.cc.
Return the layout-algorithm used for the graph.
Definition at line 84 of file YGraph.cc.
Return this class's property set. This also initializes the property upon the first call.
Reimplemented from YWidget.
Reimplemented from YWidget.
Definition at line 113 of file YGraph.cc.
virtual void YGraph::renderGraph |
( |
const std::string & |
filename, |
|
|
const std::string & |
layoutAlgorithm |
|
) |
| [protected, pure virtual] |
Render the graph from the filename. Derived classes are required to implement this.
Render the graph. Derived classes are required to implement this.
Set the filename that describes the graph and render the graph. Derived classes can reimplent this, but they should call this base class method in the new implementation. Most derived classes only need to implement renderGraph().
Definition at line 76 of file YGraph.cc.
Render the graph. Derived classes can reimplent this, but they should call this base class method in the new implementation. Most derived classes only need to implement renderGraph().
Definition at line 91 of file YGraph.cc.
Set the layout-algorithm used for the graph. Derived classes can reimplent this, but they should call this base class method in the new implementation.
Definition at line 99 of file YGraph.cc.
Set a property. Reimplemented from YWidget.
This function may throw YUIPropertyExceptions.
This function returns 'true' if the value was successfully set and 'false' if that value requires special handling (not in error cases: those are covered by exceptions).
Reimplemented from YWidget.
Definition at line 135 of file YGraph.cc.
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.
Definition at line 75 of file YGraph.h.
The documentation for this class was generated from the following files:
- /usr/src/RPM/BUILD/libyui-3.0.10/src/YGraph.h
- /usr/src/RPM/BUILD/libyui-3.0.10/src/YGraph.cc