Classes. More...
Public Member Functions | |
def | __init__ (self) |
def | addEdgeItem (self, edge, nodes, edges, highlight_level, same_label_siblings=False) |
def | dotcode_to_qt_items (self, dotcode, highlight_level, same_label_siblings=False) |
def | getNodeItemForNode (self, node, highlight_level) |
def | getNodeItemForSubgraph (self, subgraph, highlight_level) |
def | graph_to_qt_items (self, graph, highlight_level, same_label_siblings=False) |
Classes.
Definition at line 64 of file dot_to_qt.py.
def rqt_py_trees.qt_dotgraph.dot_to_qt.DotToQtGenerator.__init__ | ( | self | ) |
Definition at line 66 of file dot_to_qt.py.
def rqt_py_trees.qt_dotgraph.dot_to_qt.DotToQtGenerator.addEdgeItem | ( | self, | |
edge, | |||
nodes, | |||
edges, | |||
highlight_level, | |||
same_label_siblings = False |
|||
) |
adds EdgeItem by data in edge to edges :param same_label_siblings: if true, edges with same label will be considered siblings (collective highlighting)
Definition at line 174 of file dot_to_qt.py.
def rqt_py_trees.qt_dotgraph.dot_to_qt.DotToQtGenerator.dotcode_to_qt_items | ( | self, | |
dotcode, | |||
highlight_level, | |||
same_label_siblings = False |
|||
) |
takes dotcode, runs layout, and creates qt items based on the dot layout. returns two dicts, one mapping node names to Node_Item, one mapping edge names to lists of Edge_Item :param same_label_siblings: if true, edges with same label will be considered siblings (collective highlighting)
Definition at line 240 of file dot_to_qt.py.
def rqt_py_trees.qt_dotgraph.dot_to_qt.DotToQtGenerator.getNodeItemForNode | ( | self, | |
node, | |||
highlight_level | |||
) |
returns a pyqt NodeItem object, or None in case of error or invisible style
Definition at line 115 of file dot_to_qt.py.
def rqt_py_trees.qt_dotgraph.dot_to_qt.DotToQtGenerator.getNodeItemForSubgraph | ( | self, | |
subgraph, | |||
highlight_level | |||
) |
Definition at line 69 of file dot_to_qt.py.
def rqt_py_trees.qt_dotgraph.dot_to_qt.DotToQtGenerator.graph_to_qt_items | ( | self, | |
graph, | |||
highlight_level, | |||
same_label_siblings = False |
|||
) |
takes a pydot/pygraphviz graph and creates qt items based on the dot layout. returns two dicts, one mapping node names to Node_Item, one mapping edge names to lists of Edge_Item :param same_label_siblings: if true, edges with same label will be considered siblings (collective highlighting)
Definition at line 297 of file dot_to_qt.py.