From 54375e808f402927eff6be016b3fc971733a3177 Mon Sep 17 00:00:00 2001 From: Tomas Zubiri Date: Wed, 4 Oct 2017 00:03:10 -0300 Subject: [PATCH] removed id from graphviz label --- bonobo/commands/inspect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonobo/commands/inspect.py b/bonobo/commands/inspect.py index 988b10c..dbb9a74 100644 --- a/bonobo/commands/inspect.py +++ b/bonobo/commands/inspect.py @@ -7,7 +7,7 @@ from bonobo.util.objects import get_name OUTPUT_GRAPHVIZ = 'graphviz' def _ident(graph, i): - return json.dumps(get_name(graph[i])+' ('+str(i)+')') + return json.dumps('{} [label="{}"]'.format(str(i),get_name(graph[i]))) def execute(*, output, **kwargs): graph, plugins, services = read(**kwargs)