-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8989888
commit 7b44e2e
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Change Graph | ||
|
||
```mermaid | ||
graph TB | ||
G["Change G"] --> F["Change D"] | ||
F --> B["Change B"] | ||
F --> C["Change C"] | ||
B --> A["Change A"] | ||
C --> A | ||
``` | ||
|
||
## Purpose | ||
|
||
Represent the relationships and history of changes. | ||
|
||
## Examples | ||
|
||
### Dependencies | ||
|
||
Change B depends on Change A. | ||
|
||
```mermaid | ||
graph TB | ||
G["Change G"]:::unhighlight --> F["Change D"] | ||
F["Change D"]:::unhighlight | ||
F --> B["Change B"] | ||
F --> C["Change C"]:::unhighlight | ||
B --> A["Change A"] | ||
C --> A | ||
classDef unhighlight, opacity:0.5; | ||
``` | ||
|
||
### Merges | ||
|
||
Change C is the result of Change A and Change B. | ||
|
||
```mermaid | ||
graph TB | ||
G["Change G"]:::unhighlight --> F["Change D"] | ||
F["Change D"] | ||
F --> B["Change B"] | ||
F --> C["Change C"] | ||
B --> A["Change A"] | ||
C --> A:::unhighlight | ||
classDef unhighlight, opacity:0.5; | ||
``` | ||
|
||
### History | ||
|
||
Change G is the result of Changes D, B, C, and A. | ||
|
||
```mermaid | ||
graph TB | ||
G["Change G"] --> F["Change D"] | ||
F["Change D"] | ||
F --> B["Change B"] | ||
F --> C["Change C"] | ||
B --> A["Change A"] | ||
C --> A | ||
``` | ||
|
||
## FAQ | ||
|
||
### Why not call it change history? | ||
|
||
The term "history" implies a linear sequence of changes which is incorrect. A lix change graph visualizes the relationships between changes, which includes the history but also includes other relationships such as dependencies and merges. |