Package visgraph :: Package renderers :: Module svgrend :: Class SvgGraphRenderer
[hide private]
[frames] | no frames]

Class SvgGraphRenderer

source code


Instance Methods [hide private]
 
__init__(self, graph, svgfile) 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
 
endRender(self) source code

Inherited from GraphRenderer: beginRender, renderGraph

Method Details [hide private]

__init__(self, graph, svgfile)
(Constructor)

source code 
Overrides: GraphRenderer.__init__

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)

endRender(self)

source code 
Overrides: GraphRenderer.endRender