| Trees | Index | Help |
|
|---|
| Package ZenUtils :: Module Graphics :: Class NetworkGraph |
|
object --+
|
NetworkGraph
| Method Summary | |
|---|---|
__init__(self,
device,
node,
parentName)
| |
This method (will) processes nodes and builds the graphs node at a time with actual pydot objects (as opposed to building a graph from a list of edges). | |
prepare(self,
nodeProcessing,
edges)
| |
This will render an image format suitable for display in a browser. | |
setGraphFromEdges(self,
edges,
directed)
| |
This method processes the child nodes of the passed node, and then its children. | |
write(self,
fdOrPath,
format)
| |
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Method Details |
|---|
complexProcessNodes(self)This method (will) processes nodes and builds the graphs node at a time with actual pydot objects (as opposed to building a graph from a list of edges). This allows for custom presentation changes based on node attributes. |
render(self, format='png', withNetworks=False)This will render an image format suitable for display in a browser. |
simpleProcessNodes(self, node=None, parentName=None, doNets=False, doDevices=False)This method processes the child nodes of the passed node, and then its children. It returns a list of tuples where the tuples represent a simple parent-child relationship. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:08 2007 | http://epydoc.sf.net |