From 39f196341fb6513e218d22c3931e53cf2fc6b3d8 Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Sun, 4 Jan 2026 20:34:04 +0100 Subject: [PATCH] feat: add architecture diagarm --- .gitignore | 2 ++ arch.gv | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 arch.gv diff --git a/.gitignore b/.gitignore index 09297ba..1ddad43 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ tmp/ mocks/* !mocks/default.go + +arch.png diff --git a/arch.gv b/arch.gv new file mode 100644 index 0000000..96afb8a --- /dev/null +++ b/arch.gv @@ -0,0 +1,38 @@ +// digraph { +// Transaction +// TreasureChest +// TransactionRecurring +// Account +// Dashboard +// +// Transaction -> TreasureChest [label="references"] +// Transaction -> TransactionRecurring [label="uses data to insert"] +// TreasureChest -> TransactionRecurring [label="displays"] +// Transaction -> Account [label="references"] +// } + +digraph { + Budget + RecurringCost + TreasureChest + Tag + Transaction + Dashboard + Account + + Transaction -> Account [label="references"] + Transaction -> Tag [label="references"] + + Budget -> Tag [label="references"] + RecurringCost -> Tag [label="references"] + TreasureChest -> Tag [label="references"] + + // Dashboard -> { + // Account + // Budget + // RecurringCost + // TreasureChest + // Tag + // Transaction + // } [label="uses"] +}