python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package drawing :: Module shapes :: Class NullDrawer
[hide private]

Class NullDrawer

source code

 object --+    
          |    
ShapeDrawer --+
              |
             NullDrawer

Static drawer class which draws nothing.

This class is used for graph vertices with unknown shapes

Instance Methods [hide private]

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

Static Methods [hide private]
 
draw_path(ctx, center_x, center_y, width, height=None)
Draws nothing.
source code

Inherited from ShapeDrawer: intersection_point

Class Variables [hide private]
  names = ['null', 'none', 'empty', 'hidden', '']
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

draw_path(ctx, center_x, center_y, width, height=None)
Static Method

source code 

Draws nothing.

Parameters:
  • ctx - the context to draw on
  • center_x - the X coordinate of the center of the object
  • center_y - the Y coordinate of the center of the object
  • width - the width of the object
  • height - the height of the object. If None, equals to the width.
Overrides: ShapeDrawer.draw_path

   Home       Trees       Indices       Help