Package rosh :: Package impl :: Module xdot :: Class Graph
[frames] | no frames]

Class Graph

source code

Shape --+
        |
       Graph

Instance Methods
 
__init__(self, width=1, height=1, nodes=(), edges=()) source code
 
get_size(self) source code
 
draw(self, cr, highlight_items=None)
Draw this shape with the given cairo context
source code
 
get_url(self, x, y) source code
 
get_jump(self, x, y) source code
 
select_pen(self, highlight) (Inherited from rosh.impl.xdot.Shape) source code
Method Details

__init__(self, width=1, height=1, nodes=(), edges=())
(Constructor)

source code 
Overrides: Shape.__init__

draw(self, cr, highlight_items=None)

source code 

Draw this shape with the given cairo context

Overrides: Shape.draw
(inherited documentation)