-
Notifications
You must be signed in to change notification settings - Fork 0
/
infra.dot
94 lines (57 loc) · 2.53 KB
/
infra.dot
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# http://www.graphviz.org/content/cluster
# TODO https://www.graphviz.org/doc/info/colors.html
// https://www.rff.com/flowchart_shapes.php
// https://www.graphviz.org/doc/info/shapes.html
// TODO highlight edges that we want to eliminate (mostly to/from the internet?)
digraph G {
// some hack for edges between clusters?
// https://stackoverflow.com/a/2012106/706389
compound=true;
// otherwise edges overlap too much..
ranksep=1.1;
// size="10,10"
// ratio="fill"
// ok, newrank doesn't respect clusters..
// newrank=true;
// TODO eh? it just moves edges a bit, not sure how useful otherwise...
// searchsize=500;
node [
shape="box"
// margin=0
]
// TODO hmm maybe LR is not too bad?
// ugh. quite bad with html tables though..
// rankdir="LR";
// ok, this is bad, messes up edges from html tables I think?
// concentrate=true;
// hmm. used to have this as 'max', but same works a bit neater..
rank=same;
// TODO not sure which rank to choose?
include(`diagram.dot')
}
// toblog: Demonstrates how much indirection is there if you want to own your data
// todo trivial connections (e.g. twitter phone app -> twitter are omitted)
// todo kindle (unused)
// todo if I draw an edge from UI to phone.... gonna be fun
# TODO hmm. how to still draw a frame around it?
// TODO hmm red:green:blue could be useful..
// TODO PDF annotation software and pdf provider?
// TODO as you can see not everything has data access layer
// so there is still something to work on
// TODO ugh. sometimes order of edges seems to matter...
// TODO browser history?
# TODO display google home and mention how useless it is
# TODO motivation for blood
# I'm planning on tracking this for several decades, so providers will change
# TODO highlight that it's easy to hook to DAL?
# TODO borg
# TODO also provide dynamic version if someone wants to mess with in browser
# wonder if could allow to show/hide nodes?
# TODO these are read only; contribute to search
# TODO link some of my blog posts? E.g. ones using endomondo
# TODO show missing links? like HN
# TODO for orger, give more specific examples for static (e.g. used for search) and interactive (e.g. used to process reddit/hn)
# TODO I guess it's nice to mention where I mention certain bits of infrastructure?
// TODO right. I think I need to add browser history and that's it. publish straigh away after that
// TODO not sure what should be first class... e.g. it's nice to be able to change somthing in dot file and rerender immediately
# todo cloudmacs?