From c6d40178de4a9e5a3b492c38efad1229346fe652 Mon Sep 17 00:00:00 2001 From: georgepstaylor <3026030+georgepstaylor@users.noreply.github.com> Date: Thu, 30 Oct 2025 09:54:58 +0000 Subject: [PATCH] fix: add imagepos tc to default node attrs --- diagrams/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagrams/__init__.py b/diagrams/__init__.py index b8497301..a7c4573c 100644 --- a/diagrams/__init__.py +++ b/diagrams/__init__.py @@ -62,7 +62,7 @@ class Diagram: # imagepos attribute is not backward compatible # TODO: check graphviz version to see if "imagepos" is available >= 2.40 # https://github.com/xflr6/graphviz/blob/master/graphviz/backend.py#L248 - # "imagepos": "tc", + "imagepos": "tc", "imagescale": "true", "fontname": "Sans-Serif", "fontsize": "13",