From e0a177a9d7ed61cb7f622abb84566b13ee03b7b2 Mon Sep 17 00:00:00 2001 From: KV Date: Sat, 20 Feb 2021 00:21:22 +0100 Subject: [PATCH] Support both bgcolor and bgcolor_title attributes Solves #210 completely by supporting bgcolor of both the node title and the whole node independently using separate attributes. --- docs/syntax.md | 2 ++ src/wireviz/DataClasses.py | 2 ++ src/wireviz/Harness.py | 13 ++++++++----- src/wireviz/wv_gv_html.py | 12 ++++++++---- 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/docs/syntax.md b/docs/syntax.md index b83d7789..255f6110 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -63,6 +63,7 @@ additional_bom_items: # custom items to add to BOM # rendering information (all optional) bgcolor: # Background color of diagram connector box + bgcolor_title: # Background color of title in diagram connector box style: