def METHOD_NAME(box, tip, orientation='right', arrow_type='',
        style=None, tooltip=None):
    """ Create arrow provided a bounding box """
    x, y, dx, dy = box
    if orientation == 'right':
        arrow = ((x, y),
                 (x + dx - tip, y),
                 (x + dx, y + dy / 2),
                 (x + dx - tip, y + dy),
                 (x, y + dy))
    elif orientation == 'left':
        arrow = ((x, y + dy / 2),
                 (x + tip, y),
                 (x + dx, y),
                 (x + dx, y + dy),
                 (x + tip, y + dy))
    return ['polygon', arrow, arrow_type, style or {}, tooltip or '']