Public Member Functions | Public Attributes
rqt_decision_graph.pydot.Edge Class Reference
Inheritance diagram for rqt_decision_graph.pydot.Edge:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __eq__
def __hash__
def __init__
def get_destination
def get_source
def parse_node_ref
def to_string

Public Attributes

 obj_dict

Detailed Description

A graph edge.

This class represents a graph's edge with all its attributes.

edge(src, dst, attribute=value, ...)

src: source node's name
dst: destination node's name

All the attributes defined in the Graphviz dot language should
be supported.

Attributes can be set through the dynamically generated methods:

 set_[attribute name], i.e. set_label, set_fontname

or directly by using the instance's special dictionary:

 Edge.obj_dict['attributes'][attribute name], i.e.

    edge_instance.obj_dict['attributes']['label']
    edge_instance.obj_dict['attributes']['fontname']

Definition at line 866 of file pydot.py.


Constructor & Destructor Documentation

def rqt_decision_graph.pydot.Edge.__init__ (   self,
  src = '',
  dst = '',
  obj_dict = None,
  attrs 
)

Definition at line 892 of file pydot.py.


Member Function Documentation

def rqt_decision_graph.pydot.Edge.__eq__ (   self,
  edge 
)
Compare two edges.

If the parent graph is directed, arcs linking
node A to B are considered equal and A->B != B->A

If the parent graph is undirected, any edge
connecting two nodes is equal to any other
edge connecting the same nodes, A->B == B->A

Definition at line 938 of file pydot.py.

Definition at line 935 of file pydot.py.

Get the edge's destination node name.

Definition at line 930 of file pydot.py.

Get the edges source node name.

Definition at line 925 of file pydot.py.

def rqt_decision_graph.pydot.Edge.parse_node_ref (   self,
  node_str 
)

Definition at line 970 of file pydot.py.

Returns a string representation of the edge in dot language.

Definition at line 996 of file pydot.py.


Member Data Documentation

Reimplemented from rqt_decision_graph.pydot.Common.

Definition at line 892 of file pydot.py.


The documentation for this class was generated from the following file:


rqt_decision_graph
Author(s):
autogenerated on Wed Aug 26 2015 11:16:47