python-igraph manual

For using igraph from Python

   Home       Trees       Indices       Help   
Package igraph :: Package drawing :: Module edge :: Class TaperedEdgeDrawer
[hide private]

Class TaperedEdgeDrawer

source code

        object --+    
                 |    
AbstractEdgeDrawer --+
                     |
                    TaperedEdgeDrawer

Edge drawer implementation that draws undirected edges as straight lines and directed edges as tapered lines that are wider at the source and narrow at the destination.

Instance Methods [hide private]
 
draw_directed_edge(self, edge, src_vertex, dest_vertex)
Draws a directed edge.
source code

Inherited from AbstractEdgeDrawer: __init__, draw_loop_edge, draw_undirected_edge, get_label_position

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

Static Methods [hide private]

Inherited from AbstractEdgeDrawer (private): _curvature_to_float

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

draw_directed_edge(self, edge, src_vertex, dest_vertex)

source code 

Draws a directed edge.

Parameters:
  • edge - the edge to be drawn. Visual properties of the edge are defined by the attributes of this object.
  • src_vertex - the source vertex. Visual properties are given again as attributes.
  • dest_vertex - the target vertex. Visual properties are given again as attributes.
Overrides: AbstractEdgeDrawer.draw_directed_edge
(inherited documentation)

   Home       Trees       Indices       Help