Package sulley :: Package pgraph :: Module edge :: Class edge
[show private | hide private]
[frames | no frames]

Type edge

object --+
         |
        edge

Known Subclasses:
connection

Method Summary
  __init__(self, src, dst)
Class constructor.
String render_edge_gml(self, graph)
Render an edge description suitable for use in a GML file using the set internal attributes.
pydot.Edge() render_edge_graphviz(self, graph)
Render an edge suitable for use in a Pydot graph using the set internal attributes.
String render_edge_udraw(self, graph)
Render an edge description suitable for use in a GML file using the set internal attributes.
String render_edge_udraw_update(self)
Render an edge update description suitable for use in a GML file using the set internal attributes.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
int color = 0                                                                     
NoneType dst = None                                                                  
str gml_arrow = 'none'
float gml_line_width = 1.0                                                                   
int gml_stipple = 1                                                                     
NoneType id = None                                                                  
str label = ''
NoneType src = None                                                                  

Method Details

__init__(self, src, dst)
(Constructor)

Class constructor.
Parameters:
src - Edge source
           (type=Mixed)
dst - Edge destination
           (type=Mixed)
Overrides:
__builtin__.object.__init__

render_edge_gml(self, graph)

Render an edge description suitable for use in a GML file using the set internal attributes.
Parameters:
graph - Top level graph object containing the current edge
           (type=pgraph.graph)
Returns:
GML edge description
           (type=String)

render_edge_graphviz(self, graph)

Render an edge suitable for use in a Pydot graph using the set internal attributes.
Parameters:
graph - Top level graph object containing the current edge
           (type=pgraph.graph)
Returns:
Pydot object representing edge
           (type=pydot.Edge())

render_edge_udraw(self, graph)

Render an edge description suitable for use in a GML file using the set internal attributes.
Parameters:
graph - Top level graph object containing the current edge
           (type=pgraph.graph)
Returns:
GML edge description
           (type=String)

render_edge_udraw_update(self)

Render an edge update description suitable for use in a GML file using the set internal attributes.
Returns:
GML edge update description
           (type=String)

Class Variable Details

color

Type:
int
Value:
0                                                                     

dst

Type:
NoneType
Value:
None                                                                  

gml_arrow

Type:
str
Value:
'none'                                                                 

gml_line_width

Type:
float
Value:
1.0                                                                   

gml_stipple

Type:
int
Value:
1                                                                     

id

Type:
NoneType
Value:
None                                                                  

label

Type:
str
Value:
''                                                                     

src

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Fri Jul 27 17:40:03 2007 http://epydoc.sf.net