src/tools/benchmark_tool/benchmark_tool/rqt_graph/rosgraph2_impl.py
def edge_args(start, dest, direction, label, qos):
    """
    Compute argument ordering for Edge constructor based on direction flag.

    @param direction str: 'i', 'o', or 'b' (in/out/bidir) relative to start
    @param start str: name of starting node
    @param start dest: name of destination node
    """
    edge_args = []
    if direction in ['o', 'b']:
        edge_args.append((start, dest, label, qos))
    if direction in ['i', 'b']:
        edge_args.append((dest, start, label, qos))
    return edge_args

    Compute argument ordering for Edge constructor based on direction flag.

    @param direction str: 'i', 'o', or 'b' (in/out/bidir) relative to start
    @param start str: name of starting node
    @param start dest: name of destination node
    
Compute argument ordering for Edge constructor based on direction flag.
Compute argument ordering for Edge constructor based on direction flag .
def edge_args(start, dest, direction, label, qos):
    edge_args = []
    if direction in ['o', 'b']:
        edge_args.append((start, dest, label, qos))
    if direction in ['i', 'b']:
        edge_args.append((dest, start, label, qos))
    return edge_args
def edge_args ( start , dest , direction , label , qos ) : edge_args = [ ] if direction in [ 'o' , 'b' ] : edge_args . append ( ( start , dest , label , qos ) ) if direction in [ 'i' , 'b' ] : edge_args . append ( ( dest , start , label , qos ) ) return edge_args
Compute argument ordering for Edge constructor based on direction flag.
Compute argument ordering for Edge constructor based on direction flag .
"""
    Compute argument ordering for Edge constructor based on direction flag.

    @param direction str: 'i', 'o', or 'b' (in/out/bidir) relative to start
    @param start str: name of starting node
    @param start dest: name of destination node
    """
start
dest
direction
label
qos