Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wattnet Logo

Platform Architecture

C4 model of the Wattnet platform architecture. This repository contains diagrams and code (Structurizr DSL) that document the system’s structure, components, and interactions across multiple levels of abstraction.

Overview

The architecture is organized into four main levels:

  1. Context Diagram: Provides a high-level view of the system and its interactions with external entities.
  2. Container Diagram: Breaks down the system into its main containers (applications, services, databases, etc.) and shows how they interact.
  3. Component Diagram: Details the internal structure of each container, showing the components and their relationships.
  4. Code Diagram: Provides a detailed view of the code structure, including classes, interfaces, and their interactions. (Not included in this repository)

The diagrams are created using the C4 model, which emphasizes clarity and simplicity in representing software architecture. The Structurizr DSL code allows for easy maintenance and updates to the diagrams as the system evolves.

Viewing the diagrams

The diagrams can be viewed and edited interactively using Structurizr Lite. From the root of the repository, run:

docker run -it --rm \
  -p 8080:8080 \
  -v "$(pwd)/dsl:/usr/local/structurizr" \
  structurizr/lite:2024.12.07

Then open http://localhost:8080 in your browser. Structurizr Lite watches dsl/workspace.dsl for changes and keeps dsl/workspace.json in sync automatically.

Repository structure

  • /diagrams: Contains the generated diagrams in various formats (PNG, SVG, etc.).
  • /dsl: Contains the Structurizr DSL code used to generate the diagrams.
  • /docs: Contains documentation on architectural decisions, design fundamentals, and other relevant information.

License

This repository is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

See the LICENSE file for more details.

Funding and Acknowledgments

This work was developed within the GreenDIGIT project, funded by the European Union's Horizon Europe research and innovation programme under grant agreement No. 101131207, and by the Swiss State Secretariat for Education, Research and Innovation (SERI).

GreenDIGIT Logo

EU Funded Logo

Swiss State Secretariat for Education, Research and Innovation (SERI)


© 2026 Spanish National Research Council (CSIC). All rights reserved.

About

C4 model of the wattnet platform architecture, with context, container, and component diagrams documenting the system’s structure and interactions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages