forked from npryce/adr-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generate-graph.expected
46 lines (46 loc) · 1.71 KB
/
generate-graph.expected
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
adr init
doc/adr/0001-record-architecture-decisions.md
adr new An idea that seems good at the time
doc/adr/0002-an-idea-that-seems-good-at-the-time.md
adr new -s 2 A better idea
doc/adr/0003-a-better-idea.md
adr new This will work
doc/adr/0004-this-will-work.md
adr new -s 3 The end
doc/adr/0005-the-end.md
# with default extension in links
adr generate graph
digraph {
node [shape=plaintext];
_1 [label="1. Record architecture decisions"; URL="0001-record-architecture-decisions.html"]
_2 [label="2. An idea that seems good at the time"; URL="0002-an-idea-that-seems-good-at-the-time.html"]
_1 -> _2 [style="dotted"];
_2 -> _3 [label="Superceded by"]
_3 [label="3. A better idea"; URL="0003-a-better-idea.html"]
_2 -> _3 [style="dotted"];
_3 -> _2 [label="Supercedes"]
_3 -> _5 [label="Superceded by"]
_4 [label="4. This will work"; URL="0004-this-will-work.html"]
_3 -> _4 [style="dotted"];
_5 [label="5. The end"; URL="0005-the-end.html"]
_4 -> _5 [style="dotted"];
_5 -> _3 [label="Supercedes"]
}
# with specified extension in links
adr generate graph -e .xxx
digraph {
node [shape=plaintext];
_1 [label="1. Record architecture decisions"; URL="0001-record-architecture-decisions.xxx"]
_2 [label="2. An idea that seems good at the time"; URL="0002-an-idea-that-seems-good-at-the-time.xxx"]
_1 -> _2 [style="dotted"];
_2 -> _3 [label="Superceded by"]
_3 [label="3. A better idea"; URL="0003-a-better-idea.xxx"]
_2 -> _3 [style="dotted"];
_3 -> _2 [label="Supercedes"]
_3 -> _5 [label="Superceded by"]
_4 [label="4. This will work"; URL="0004-this-will-work.xxx"]
_3 -> _4 [style="dotted"];
_5 [label="5. The end"; URL="0005-the-end.xxx"]
_4 -> _5 [style="dotted"];
_5 -> _3 [label="Supercedes"]
}