From 589f6689acbfdc4d90e56d60de241a1a091515f5 Mon Sep 17 00:00:00 2001 From: AndiMajore <andi.majore@googlemail.com> Date: Thu, 9 Feb 2023 12:12:47 +0100 Subject: [PATCH] removing _groups attribute from file download --- drugstone/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drugstone/views.py b/drugstone/views.py index 0627212..45ff924 100755 --- a/drugstone/views.py +++ b/drugstone/views.py @@ -475,7 +475,7 @@ def graph_export(request) -> Response: file ready to download. """ remove_node_properties = ['color', 'shape', 'border_width', 'group', 'border_width_selected', 'shadow', - 'group_id', 'drugstone_type', 'font', 'x', 'y'] + 'group_id', 'drugstone_type', 'font', 'x', 'y', '_group'] rename_node_properties = {'group_name': 'group'} remove_edge_properties = ['group', 'color', 'dashes', 'shadow', 'id'] rename_edge_properties = {'group_name': 'group'} -- GitLab