From 872eb5454d28391cc5f1aa0f9c5bec6351984b4d Mon Sep 17 00:00:00 2001 From: Andri Joos <andri@joos.io> Date: Thu, 13 Jun 2024 20:23:14 +0200 Subject: [PATCH] fix c4 diagrams --- src/resources/diagrams/architecture/c4/container.py | 4 ++-- src/resources/diagrams/architecture/c4/system_context.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/resources/diagrams/architecture/c4/container.py b/src/resources/diagrams/architecture/c4/container.py index 2b4bf39..6264c39 100644 --- a/src/resources/diagrams/architecture/c4/container.py +++ b/src/resources/diagrams/architecture/c4/container.py @@ -9,11 +9,11 @@ graph_attributes = { def create_diagram(): with Diagram(name="", filename="out/container", show=False, direction="TB", graph_attr=graph_attributes): - user = Person("User", description="A user of the SmartEating platform") + user = Person("User", description="A user of the Smart Eating platform") openai_api = System("OpenAI API", external=True) inhouse_llm_api = System("InHouse LLM API", external=True) - with SystemBoundary("SmartEating Platform"): + with SystemBoundary("Smart Eating Platform"): web_frontend = Container("Webapp Frontend", description="The Chatbot UI is located in here", technology="React") web_backend = Container("Webapp Backend", technology="C#") piccolodb = Container("PiccoloDB", technology="Python", description="Provides access to DB over an API") diff --git a/src/resources/diagrams/architecture/c4/system_context.py b/src/resources/diagrams/architecture/c4/system_context.py index 5b92bc6..9973fb9 100644 --- a/src/resources/diagrams/architecture/c4/system_context.py +++ b/src/resources/diagrams/architecture/c4/system_context.py @@ -9,8 +9,8 @@ graph_attributes = { def create_diagram(): with Diagram(name="", filename="out/system_context", show=False, direction="TB", graph_attr=graph_attributes): - user = Person(name="User", description="A user of the SmartEating platform") - smarteating = System(name="SmartEating Platform", technology="React, Python", external=False, width="2.3") + user = Person(name="User", description="A user of the Smart Eating platform") + smarteating = System(name="Smart Eating Platform", technology="React, Python", external=False, width="2.3") openai_api = System(name="OpenAI API", external=True) inhouse_llm_api = System("InHouse LLM API", external=True) -- GitLab