Skip to content

Commit 036d194

Browse files
committed
check
1 parent b981771 commit 036d194

File tree

3 files changed

+53
-21
lines changed

3 files changed

+53
-21
lines changed

README.md

+22-20
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
1-
# Welcome to the RDB Model!
1+
# RDB Model
22

3-
This web application allows you to create and visualize software architecture using a simplified version of the C4 model. You can create and edit yaml files that represent the domain of your application. It's important to note that while there is only one domain that represents the architecture, but it is possible to create multiple views of this domain to better understand and communicate the relationships within a software system(s).
3+
This web application simplifies creating and visualizing software architecture using a C4 model variant. You can edit YAML files to represent your application's domain. You can create multiple views to understand and communicate relationships within the software system.
44

5-
Views allow to see the connections between actors, systems, containers, and their components. It is possible to layout the elements and edges of a view, that allowing to arrange and present the software architecture in a clear and visually appealing way. Other features like zoom, scroll, and navigate through the selected view, are allowing to easily explore and understand the software architecture in greater detail.
5+
## Functionality Highlights
66

7-
This app also helps you during the editing process by highlighting any inconsistencies in the model and views using error messages. This ensures that the software architecture is clear and consistent.
7+
- Create and edit YAML files representing the software architecture domain.
8+
- Generate multiple views to visualize connections between actors, systems, containers, and components.
9+
- Layout elements and edges for clear, visually appealing architecture representations.
10+
- Features like zoom, scroll, and navigation enhance exploration of the software architecture.
11+
- Error highlighting ensures consistency and clarity during the editing process.
812

9-
The C4 model is a powerful tool for understanding and communicating the structure of a software system, and is typically used to represent the domain of the application. There are the four main types of entities in the C4 model: actors, systems, containers, and components. Systems in the C4 model usually represent applications or services that bring value to the end users, while containers are units that can usually be deployed independently. Components, on the other hand, are buildable packages that are usually represented as artifacts in the file system.
13+
## C4 Model Overview
1014

11-
Whether you're a seasoned software architect or just starting out, our application makes it easy to design and understand your software architecture. Start creating your C4 model with the RDB Model Web Application today!
15+
The C4 model represents software systems through four main entities: actors, systems, containers, and components.
1216

13-
# Getting started
17+
- **Actors:** Represent users or external systems interacting with the software.
18+
- **Systems:** Represent applications or services providing value to users.
19+
- **Containers:** Deployable units that can operate independently.
20+
- **Components:** Buildable packages, like artifacts in a file system.
1421

15-
1. Start with minimal domain in the editor:
22+
## Getting Started
23+
24+
1. Start with a minimal domain in the editor:
1625

1726
```yaml
1827
domain:
@@ -33,16 +42,9 @@ domain:
3342
name: component 1
3443
```
3544
36-
2. Add all actors and systems. Usually there is only one target system that is managed by your company/team. All others system acts as external systems (so you have no information about their contains/components) and the target system is using or used by such external systems.
37-
38-
3. Add all relations between actors, external systems and the target system. Actors use the target system and they are clients. One type of external systems can use the target system and other type of external systems can be used by the target system.
39-
40-
4. Add all containers of the target system (units that are deployed or can be deployed independently).
41-
42-
5. Add all relations between containers, e.g. web service is using database.
43-
44-
6. Add all components of created containers (buildable packages, dlls, database schemas, jars).
45-
46-
7. Add all relations between components
45+
2. Add actors, systems, and relations.
46+
3. Define containers and their relations.
47+
4. Add components to containers and specify relations.
48+
5. Create views to visualize the architecture.
4749
48-
8. Start creating views after domain. It is possible to create views vie editor and also via graphical interface.
50+
Start designing your C4 model with the RDB Model Web Application today!

src/Pages/Home.elm

+31-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import Element
2828
)
2929
import Element.Background as Background
3030
import Element.Border exposing (rounded)
31-
import Element.Font as Font exposing (justify)
31+
import Element.Font as Font
3232
import Html exposing (Html)
3333
import Route exposing (editorLinkDropbox, editorLinkInit, editorLinkPastebin, editorLinkTwitter)
3434

@@ -118,3 +118,33 @@ mainPartShort =
118118
, editorLink
119119
, footer
120120
]
121+
122+
-- Create any new view for the domain
123+
-- Edit any existing view
124+
-- Select any view from existing views using dropdown or using direct link
125+
-- Describe domain in the text editor using hints
126+
-- Add name and desription for the domain
127+
-- Add actors (name, description)
128+
-- Add systems (external and target one) by providing names and descriptions
129+
-- Add containers to the interested system (name and description)
130+
-- Add components to the interested containers (name and description)
131+
-- Add blocks to the interested components (name and description)
132+
-- Add relations to all interested actors, systems, containers, components and blocks (short description and the target item)
133+
-- Create a view for the created domain (plus button)
134+
-- Add any type of items to the view
135+
-- Move and adjust item position on the view by dragging the item box
136+
-- Binding to grid can be enabled so items will be aligned to the grid
137+
-- Right click on an added item to add relations from it to any other item on the view which is described in the domain
138+
-- Right click on an added item to remove it from the view
139+
-- Click on an arrow (relation) to modify its appearance on the view
140+
-- Right click on the arrow (relation) to remove it from the view
141+
-- Add any child item of the existing item and it will be placed inside the parent item (e.g. all containers will be inside its parent system)
142+
-- Select multiple items on the view and move them on the view simultaneously
143+
-- Hold Ctrl and click on the view to move up, down, left or right
144+
-- Use button 'Move' to start navigating on view instead of item selecting
145+
-- Use zoom buttons to zoom in and zoom out
146+
-- Any action on view can be undone and redone (history)
147+
-- Any inconsistency in domain and its views will be highlighted in the document
148+
-- Many view can be added to represent different slices of the domain
149+
-- Save the yaml to the local storage of the browser
150+
-- Download/upload yaml

src/img/diagram.gif

62 KB
Loading

0 commit comments

Comments
 (0)