Skip to content

Commit f6ff34b

Browse files
Merge pull request #507 from CodeNow/graph
initial graph of runnable
2 parents 4331185 + 5056f40 commit f6ff34b

File tree

3 files changed

+74
-0
lines changed

3 files changed

+74
-0
lines changed

graph/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
graph.png

graph/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Runnable Graph
2+
3+
## Tools
4+
5+
```bash
6+
brew install graphviz
7+
```
8+
9+
### Making Graph
10+
11+
```bash
12+
cat runnable.dot | dot -Tpng > graph.png && open graph.png
13+
```

graph/runnable.dot

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
digraph {
2+
# describe the groups
3+
subgraph cluster_0 {
4+
label = "Data Layer"
5+
mongodb
6+
rabbitmq
7+
redis
8+
neo4j
9+
}
10+
subgraph cluster_1 {
11+
label = "App Services"
12+
api
13+
api_socket_server
14+
api_workers
15+
detention
16+
drake
17+
drake_workers
18+
eru
19+
github_varnish
20+
pheidi
21+
shiva
22+
}
23+
subgraph cluster_4 {
24+
label = "Dock Services"
25+
docker_listener
26+
khronos
27+
mavis
28+
optimus
29+
palantiri
30+
sauron
31+
}
32+
subgraph cluster_2 {
33+
label = "Proxy Layer"
34+
nginx
35+
hipache
36+
}
37+
subgraph cluster_3 {
38+
label = "Customer Clusters"
39+
docker
40+
}
41+
42+
# here's the actual interactions
43+
rankdir=LR
44+
api -> mongodb, redis, neo4j, rabbitmq, github_varnish
45+
api_socket_server -> mongodb, redis, docker, github_varnish
46+
api_workers -> mongodb, redis, neo4j, rabbitmq, docker, github_varnish
47+
drake -> rabbitmq
48+
drake_workers -> api
49+
eru -> rabbitmq
50+
docker_listener -> docker
51+
khronos -> mongodb, docker, rabbitmq
52+
mavis -> docker
53+
palantiri -> docker
54+
sauron -> docker
55+
hipache -> drake, api, detention, optimus, mavis
56+
nginx -> api_socket_server, eru
57+
rabbitmq -> api_workers, drake_workers, pheidi, shiva, khronos, palantiri, eru
58+
docker -> docker_listener
59+
the_internet -> nginx, hipache
60+
}

0 commit comments

Comments
 (0)