From 2d512994ff094d79f0b38f8f99a79dfa61875af3 Mon Sep 17 00:00:00 2001 From: Karl Kroening Date: Thu, 6 Jul 2017 02:41:57 -0600 Subject: [PATCH] #18: use better arrow --- ffmpeg/_view.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ffmpeg/_view.py b/ffmpeg/_view.py index d613456..ac02dff 100644 --- a/ffmpeg/_view.py +++ b/ffmpeg/_view.py @@ -14,6 +14,9 @@ from ffmpeg.nodes import ( ) +_RIGHT_ARROW = '\u2192' + + def _get_node_color(node): if isinstance(node, InputNode): color = '#99cc00' @@ -70,7 +73,7 @@ def view(*streams, **kwargs): if down_label is None: down_label = '' if up_label != '' and down_label != '': - middle = ' -> ' + middle = ' {} '.format(_RIGHT_ARROW) else: middle = '' kwargs['label'] = '{} {} {}'.format(up_label, middle, down_label)