Package visgraph :: Package renderers :: Module gtkrend :: Class GtkVisGraphRenderer
[hide private]
[frames] | no frames]

Class GtkVisGraphRenderer

source code


Instance Methods [hide private]
 
__init__(self, graph) source code
 
beginRender(self, width, height) source code
 
renderNode(self, nid, ninfo, xpos, ypos)
Render the given node at the specified position.
source code
 
renderEdge(self, eid, einfo, points)
Render an edge in the graph by drawing lines between all the listed points (as (x,y) tuples...)
source code
 
setNodeSizes(self, graph)
Calculate the sizes for each node based on graph metadata (or defaults)
source code
 
button_press_event(self, widget, event) source code
 
expose_event_cb(self, layout, event) source code

Inherited from GraphRenderer: endRender, renderGraph

Method Details [hide private]

__init__(self, graph)
(Constructor)

source code 
Overrides: GraphRenderer.__init__

beginRender(self, width, height)

source code 
Overrides: GraphRenderer.beginRender

renderNode(self, nid, ninfo, xpos, ypos)

source code 

Render the given node at the specified position.

Overrides: GraphRenderer.renderNode
(inherited documentation)

renderEdge(self, eid, einfo, points)

source code 

Render an edge in the graph by drawing lines between all the listed points (as (x,y) tuples...)

Overrides: GraphRenderer.renderEdge
(inherited documentation)

setNodeSizes(self, graph)

source code 

Calculate the sizes for each node based on graph metadata (or defaults)

Overrides: GraphRenderer.setNodeSizes
(inherited documentation)