Package visgraph :: Package renderers :: Module qtrend :: Class QtGraphRenderer
[hide private]
[frames] | no frames]

Class QtGraphRenderer

source code


Instance Methods [hide private]
 
__init__(self, graph, parent=None) source code
 
setNodeSizes(self, graph)
Calculate the sizes for each node based on graph metadata (or defaults)
source code
 
_getNodeWidget(self, nid, ninfo) 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
 
renderNode(self, nid, ninfo, xpos, ypos)
Render the given node at the specified position.
source code

Inherited from GraphRenderer: beginRender, endRender, renderGraph

Method Details [hide private]

__init__(self, graph, parent=None)
(Constructor)

source code 
Overrides: GraphRenderer.__init__

setNodeSizes(self, graph)

source code 

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

Overrides: GraphRenderer.setNodeSizes
(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)

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

source code 

Render the given node at the specified position.

Overrides: GraphRenderer.renderNode
(inherited documentation)