def _get_edge_plot_attrs(wrap1, wrap2):
    """ get the kwargs to pass to graphviz plot edges based on edge labels """
    labels = wrap1._out_edge_lab | wrap2._in_edge_lab
    out = {}
    if 'is_conditional' in labels:
        out['label'] = wrap2.conditional_name
        out['style'] = 'dashed'
        out['fontsize'] = '10'
    if 'is_fan' in labels or 'is_aggregate' in labels:
        out['style'] = 'tapered'
        out['arrowtail'] = 'none'
        out['arrowhead'] = 'none'
        out['penwidth'] = '7'
        if 'is_fan' in labels and 'is_aggregate' in labels:
            out['dir'] = 'both'
        elif 'is_aggregate' in labels:
            out['dir'] = 'forward'
        elif 'is_fan' in labels:
            out['dir'] = 'back'
    return out
