From 865cd221f9f298c26abfbeafdba99125c134f84a Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Mon, 25 Oct 2021 20:35:51 +0200 Subject: [PATCH] Add BOM bubble to additional component list (WIP) --- src/wireviz/wv_graphviz.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wireviz/wv_graphviz.py b/src/wireviz/wv_graphviz.py index 36b9015..91900fe 100644 --- a/src/wireviz/wv_graphviz.py +++ b/src/wireviz/wv_graphviz.py @@ -110,6 +110,7 @@ def gv_additional_component_table(component): rows.append( Tr( [ + Td(bom_bubble(subitem.bom_id)), Td(f"{subitem.bom_qty}"), Td(f"{subitem.qty.unit if subitem.qty.unit else 'x'}"), Td(f"{subitem.description}"), @@ -117,7 +118,7 @@ def gv_additional_component_table(component): ) ) - return Table(rows) + return Table(rows, border=0) def calculate_node_bgcolor(component, harness_options):