Skip to content

Commit 9f2194a

Browse files
committed
test: add ascii fixtures for edge routing and label placement
1 parent 6e2bf3d commit 9f2194a

5 files changed

Lines changed: 95 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
graph LR
2+
A -->|workload exits| B
3+
B -->|run| A
4+
---
5+
+---+ +-----+
6+
| | | |
7+
| A |workload-exits->| B |
8+
| | | |
9+
+---+ +-----+
10+
^ run
11+
+---------------------+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
graph TD
2+
A -->|forward| B
3+
B -->|back| A
4+
---
5+
+---------+
6+
| |
7+
| A |<--+
8+
| | |
9+
+---------+ |
10+
| |
11+
| |
12+
forward back
13+
| |
14+
v |
15+
+---------+ |
16+
| | |
17+
| B |---+
18+
| |
19+
+---------+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
graph LR
2+
A -->|miss| B
3+
A -->|hit| B
4+
---
5+
+-----+ +---+
6+
| | | |
7+
| A |miss->| B |
8+
| | | |
9+
+-----+ +---+
10+
hit ^
11+
+-----------+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
graph TD
2+
A["Foo"] --> B["Bar"]
3+
B --> C["Baz"]
4+
---
5+
+-----+
6+
| |
7+
| Foo |
8+
| |
9+
+-----+
10+
|
11+
|
12+
|
13+
|
14+
v
15+
+-----+
16+
| |
17+
| Bar |
18+
| |
19+
+-----+
20+
|
21+
|
22+
|
23+
|
24+
v
25+
+-----+
26+
| |
27+
| Baz |
28+
| |
29+
+-----+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
graph TD
2+
subgraph one
3+
A["VcpuManager"]
4+
end
5+
A --> B
6+
---
7+
+-----------------+
8+
| one |
9+
| |
10+
| |
11+
| +-------------+ |
12+
| | | |
13+
| | VcpuManager | |
14+
| | | |
15+
| +-------------+ |
16+
| | |
17+
+--------|--------+
18+
|
19+
|
20+
v
21+
+-------------+
22+
| |
23+
| B |
24+
| |
25+
+-------------+

0 commit comments

Comments
 (0)