Functions | |
def | _edge_to_dot |
def | _filter_edges |
def | _generate_node_dotcode |
def | _quiet_filter |
def | _quiet_filter_edge |
def | generate_dotcode |
def | generate_namespaces |
def | safe_dotcode_name |
Variables | |
string | INIT_DOTCODE |
string | NODE_NODE_GRAPH = "node_node" |
string | NODE_TOPIC_ALL_GRAPH = "node_topic_all" |
string | NODE_TOPIC_GRAPH = "node_topic" |
list | ORIENTATIONS = ['LR', 'TB', 'RL', 'BT'] |
list | QUIET_NAMES = ['/diag_agg', '/runtime_logger', '/pr2_dashboard', '/rviz', '/rosout', '/cpu_monitor', '/monitor','/hd_monitor', '/rxloggerlevel', '/clock'] |
def rxgraph::dotcode::_edge_to_dot | ( | e | ) | [private] |
Definition at line 63 of file dotcode.py.
def rxgraph::dotcode::_filter_edges | ( | edges, | ||
nodes | ||||
) | [private] |
Definition at line 122 of file dotcode.py.
def rxgraph::dotcode::_generate_node_dotcode | ( | node, | ||
g, | ||||
quiet | ||||
) | [private] |
Definition at line 69 of file dotcode.py.
def rxgraph::dotcode::_quiet_filter | ( | name | ) | [private] |
Definition at line 82 of file dotcode.py.
def rxgraph::dotcode::_quiet_filter_edge | ( | edge | ) | [private] |
Definition at line 89 of file dotcode.py.
def rxgraph::dotcode::generate_dotcode | ( | g, | ||
ns_filter, | ||||
graph_mode, | ||||
orientation, | ||||
quiet = False | ||||
) |
@param g: Graph instance @param ns_filter: namespace filter (must be canonicalized with trailing '/') @type ns_filter: string @param graph_mode str: NODE_NODE_GRAPH | NODE_TOPIC_GRAPH | NODE_TOPIC_ALL_GRAPH @type graph_mode: str @param orientation: rankdir value (see ORIENTATIONS dict) @return: dotcode generated from graph singleton @rtype: str
Definition at line 126 of file dotcode.py.
def rxgraph::dotcode::generate_namespaces | ( | g, | ||
graph_mode, | ||||
quiet = False | ||||
) |
Determine the namespaces of the nodes being displayed
Definition at line 95 of file dotcode.py.
def rxgraph::dotcode::safe_dotcode_name | ( | name | ) |
encode the name for dotcode symbol-safe syntax
Definition at line 52 of file dotcode.py.
""" digraph G { initializing [label="initializing..."]; } """
Definition at line 40 of file dotcode.py.
string rxgraph::dotcode::NODE_NODE_GRAPH = "node_node" |
Definition at line 45 of file dotcode.py.
string rxgraph::dotcode::NODE_TOPIC_ALL_GRAPH = "node_topic_all" |
Definition at line 49 of file dotcode.py.
string rxgraph::dotcode::NODE_TOPIC_GRAPH = "node_topic" |
Definition at line 47 of file dotcode.py.
list rxgraph::dotcode::ORIENTATIONS = ['LR', 'TB', 'RL', 'BT'] |
Definition at line 38 of file dotcode.py.
list rxgraph::dotcode::QUIET_NAMES = ['/diag_agg', '/runtime_logger', '/pr2_dashboard', '/rviz', '/rosout', '/cpu_monitor', '/monitor','/hd_monitor', '/rxloggerlevel', '/clock'] |
Definition at line 81 of file dotcode.py.