Otawa
0.10
|
A simple engine to draw graphs. More...
#include <otawa/display/GenDrawer.h>
Classes | |
class | Edge |
class | Vertex |
Public Member Functions | |
GenDrawer (const G &graph) | |
Build the drawer. More... | |
void | draw (void) |
Launch the draw of the graph. More... | |
Public Attributes | |
kind_t | kind |
String | path |
FillStyle | page_fill |
TextStyle | page_text |
ShapeStyle | default_vertex |
LineStyle | default_edge_line |
TextStyle | default_edge_text |
Private Member Functions | |
virtual void | configure (Output &caption, TextStyle &text, FillStyle &fill) |
This method may be overriden to provide a customized graph ledend. More... | |
Private Attributes | |
const G & | _graph |
A simple engine to draw graphs.
G | Type of the graph to use (must implement the otawa::concept::DiGraphWithNodeMap concept). |
D | Type describing the decorator of the nodes and edges of the graph (must implement the otawa::display::Decorator concept). |
|
inline |
Build the drawer.
graph | Graph to work on. |
References otawa::display::GenDrawer< G, D >::_graph, and otawa::cfgio::edge().
|
inlineprivatevirtual |
This method may be overriden to provide a customized graph ledend.
out | Graph caption. |
text | Graph caption text style to configure. |
fill | Graph background fill style to configure. |
Reimplemented from otawa::display::AbstractDrawer.
References otawa::display::GenDrawer< G, D >::_graph.
|
inherited |
Launch the draw of the graph.
References otawa::display::BODY, buf, otawa::display::AbstractDrawer::configure(), otawa::display::Graph::display(), otawa::cfgio::edge(), otawa::display::AbstractDrawer::edges, otawa::display::AbstractDrawer::graph, otawa::display::AbstractDrawer::kind, otawa::display::OUTPUT_KIND, otawa::display::OUTPUT_PATH, otawa::display::AbstractDrawer::page_fill, otawa::display::AbstractDrawer::page_text, otawa::display::AbstractDrawer::path, elm::StringBuffer::toString(), and otawa::display::AbstractDrawer::vertices.
Referenced by otawa::display::CFGOutput::processCFG().
|
private |
|
inherited |
Referenced by otawa::display::AbstractDrawer::Edge::Edge().
|
inherited |
Referenced by otawa::display::AbstractDrawer::Edge::Edge(), and otawa::display::CFGOutput::processCFG().
|
inherited |
|
inherited |
Referenced by otawa::display::AbstractDrawer::draw(), and otawa::display::CFGOutput::processCFG().
|
inherited |
Referenced by otawa::display::AbstractDrawer::draw().
|
inherited |
Referenced by otawa::display::AbstractDrawer::draw().
|
inherited |
Referenced by otawa::display::AbstractDrawer::draw(), and otawa::display::CFGOutput::processCFG().