Skip to content

Commit cf9db52

Browse files
committed
mermaid chart tweaks
1 parent 8b1be45 commit cf9db52

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ Environment variable composition and activation layer for tools and processes.
1313
- Shared, policy-driven environments
1414
- Inspectable and deterministic behavior
1515

16-
envstack focuses on **configuration and activation**, not dependency resolution.
16+
envstack environments are layered hierarchically, with later layers inheriting
17+
from and overriding earlier ones.
1718

1819
```mermaid
19-
flowchart TD
20+
flowchart LR
2021
default[default.env] --> prod[prod.env]
2122
prod --> dev[dev.env]
2223
prod --> test[test.env]
2324
```
2425

2526
Later layers override earlier ones. Use envstack -t VAR to trace where a value
26-
comes from.
27+
comes from. envstack focuses on **configuration and activation**, not dependency
28+
resolution.
2729

2830
For the core concepts, see `docs/index.md`.
2931

docs/examples.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ This is the simplest envstack use case and a direct evolution of a `.env` file.
1414

1515
```mermaid
1616
flowchart LR
17-
base[default.env] --> local[local.env]
17+
default[default.env] --> local[local.env]
1818
```
1919

2020
Typical characteristics:
21-
- One base environment
21+
- One default base environment
2222
- A small number of variables
2323
- Defaults that can be overridden externally
2424

@@ -38,8 +38,8 @@ A common pattern is to define a shared base environment and layer environment
3838
tiers on top (e.g. dev, prod, CI).
3939

4040
```mermaid
41-
flowchart TD
42-
base[default.env] --> prod[prod.env]
41+
flowchart LR
42+
default[default.env] --> prod[prod.env]
4343
prod --> dev[dev.env]
4444
prod --> test[test.env]
4545
```
@@ -66,7 +66,7 @@ envstack models this naturally through inheritance and layering.
6666

6767
```mermaid
6868
flowchart LR
69-
base[default.env] --> prod[prod.env]
69+
default[default.env] --> prod[prod.env]
7070
prod -. include .-> project[project.env]
7171
```
7272

0 commit comments

Comments
 (0)