python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package drawing :: Module graph :: Class AbstractCairoGraphDrawer
[hide private]

Class AbstractCairoGraphDrawer

source code

                 object --+        
                          |        
 baseclasses.AbstractDrawer --+    
                              |    
            AbstractGraphDrawer --+
                                  |
                 object --+       |
                          |       |
 baseclasses.AbstractDrawer --+   |
                              |   |
baseclasses.AbstractCairoDrawer --+
                                  |
                                 AbstractCairoGraphDrawer
Known Subclasses:

Abstract base class for graph drawers that draw on a Cairo canvas.

Instance Methods [hide private]
 
__init__(self, context, bbox)
Constructs the graph drawer and associates it to the given Cairo context and the given BoundingBox.
source code

Inherited from AbstractGraphDrawer: draw, ensure_layout

Inherited from baseclasses.AbstractCairoDrawer (private): _mark_point

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from baseclasses.AbstractCairoDrawer: bbox

Inherited from object: __class__

Method Details [hide private]

__init__(self, context, bbox)
(Constructor)

source code 

Constructs the graph drawer and associates it to the given Cairo context and the given BoundingBox.

Parameters:
  • context - the context on which we will draw
  • bbox - the bounding box within which we will draw. Can be anything accepted by the constructor of BoundingBox (i.e., a 2-tuple, a 4-tuple or a BoundingBox object).
Overrides: object.__init__

   Home       Trees       Indices       Help