From 6244dd4d0f4041e5bc8b05872667012c19b748ca Mon Sep 17 00:00:00 2001 From: Shautvast Date: Sun, 26 Jan 2025 17:54:53 +0100 Subject: [PATCH] added sample output --- README.md | 40 ++++--------- examples/bank_architecture/bank.svg | 89 +++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+), 29 deletions(-) create mode 100644 examples/bank_architecture/bank.svg diff --git a/README.md b/README.md index 310ed62..461c74c 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,10 @@ _It is Dutch for fish_ -### NB I just started, needs a lot of work - sample vis file: ``` -markup { +structure { lanes { functions { calc: "Calculation" @@ -32,39 +30,23 @@ markup { interest_engine: "InterestEngine" } } - bank-->calc - bank_scripts--<>bank_db - bank_motor--<>bank_db - interest_engine-->calc + bank==>calc + bank_scripts==<>bank_db + bank_motor==<>bank_db + interest_engine==>calc } styles { lanes(group) { type: textnode - orientation: horizontal + orientation: vertical shape: rectangle - font-family: arial - border-width: 1px - border-color: gray - } - functions(group) { - background-color: yellow - font-family: arial - border-radius: 20px - border-width: 1px - border-color: gray - } - systems(group) { - background-color: lightblue - } - tag1: "⚭" { // how will this work? - right:0px - top:0px - } - tag2: { - itchy: scratchy } + functions(group) {orientation: horizontal} + systems(group) {orientation: horizontal} } ``` -Will have to be turned into an architecture diagram... we'll see how it goes! +#### Output (work in progress): + +![sample_bank](examples/bank_architecture/bank.svg) \ No newline at end of file diff --git a/examples/bank_architecture/bank.svg b/examples/bank_architecture/bank.svg new file mode 100644 index 0000000..56ce2d0 --- /dev/null +++ b/examples/bank_architecture/bank.svg @@ -0,0 +1,89 @@ + + + + + Calculation + + + + Account interest Calculation + + + + Interest Rates + + + + Configuration + + + + NoB Execution + + + + Collection of Reinstatement instructions + + + + NoB + + + + Reporting + + + + + + Bank Motor + + + + Bank Scripts + + + + Bank Client + + + + Bank DB + + + + Bank + + + + InterestEngine + + + + + + + + + + + + + + + + \ No newline at end of file