Method Summary |
|
__init__ (self,
node1,
node2,
id,
weight,
directed)
|
|
directed (self,
v)
Sets direction of edge. |
|
getAttribute (self,
attr,
attribs)
Return generic attribute for the edge |
|
getName (self)
Return name (canonical) of the edge |
|
getNode1 (self)
Return 1st node of the edge |
|
getNode2 (self)
Return 2nd node of the edge |
|
getWeight (self)
Return the weight of the edge |
|
setAttribute (self,
attr,
value,
attribs)
Defines generic attribute for the edge |
|
setName (self,
name)
|
|
setNode1 (self,
source)
|
|
setNode2 (self,
target)
|
|
setWeight (self,
w)
Defines the weight of the edge |