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

Type node

object --+
         |
        node

Known Subclasses:
request

Method Summary
  __init__(self, id)
String render_node_gml(self, graph)
Render a node description suitable for use in a GML file using the set internal attributes.
pydot.Node render_node_graphviz(self, graph)
Render a node suitable for use in a Pydot graph using the set internal attributes.
String render_node_udraw(self, graph)
Render a node description suitable for use in a uDraw file using the set internal attributes.
String render_node_udraw_update(self)
Render a node update description suitable for use in a uDraw 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 border_color = 15658734                                                              
int color = 15661055                                                              
float gml_height = 0.0                                                                   
float gml_line_width = 1.0                                                                   
str gml_pattern = '1'
int gml_stipple = 1                                                                     
str gml_type = 'rectangle'
float gml_width = 0.0                                                                   
float gml_width_shape = 1.0                                                                   
int id = 0                                                                     
str label = ''
int number = 0                                                                     
str shape = 'box'
NoneType udraw_image = None                                                                  
str udraw_info = ''

Method Details

render_node_gml(self, graph)

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

render_node_graphviz(self, graph)

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

render_node_udraw(self, graph)

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

render_node_udraw_update(self)

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

Class Variable Details

border_color

Type:
int
Value:
15658734                                                              

color

Type:
int
Value:
15661055                                                              

gml_height

Type:
float
Value:
0.0                                                                   

gml_line_width

Type:
float
Value:
1.0                                                                   

gml_pattern

Type:
str
Value:
'1'                                                                    

gml_stipple

Type:
int
Value:
1                                                                     

gml_type

Type:
str
Value:
'rectangle'                                                            

gml_width

Type:
float
Value:
0.0                                                                   

gml_width_shape

Type:
float
Value:
1.0                                                                   

id

Type:
int
Value:
0                                                                     

label

Type:
str
Value:
''                                                                     

number

Type:
int
Value:
0                                                                     

shape

Type:
str
Value:
'box'                                                                  

udraw_image

Type:
NoneType
Value:
None                                                                  

udraw_info

Type:
str
Value:
''                                                                     

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