Debian Codegraph @

workspaces/arborist/test/fixtures/testing-peer-dep-nesting/README.md

raw
1
2 # CASE A
3
4 ```
5 root -> (s@1, p@2)
6 s@1 -> (x)
7 x -> PEER(p@1, q)
8 q -> PEER(p@1)
9 ```
10
11 Expect:
12
13 ```
14 root
15 +-- p@2
16 +-- s@1
17 +-- x
18 +-- p@1
19 +-- q
20 ```
21
22
23 ## CASE B
24
25 ```
26 root -> (s@2, p@2)
27 s@2 -> (x, y)
28 x -> PEER(p@1, q)
29 q -> PEER(p@1)
30 y -> PEER(z)
31 ```
32
33 Expect:
34
35 ```
36 root
37 +-- p@2
38 +-- s@2
39 | +-- x
40 | +-- p@1
41 | +-- q@1
42 +-- y
43 +-- z
44 ```