~whereswaldon/arborchat

ref: fa40c07b665dacfa403eac484669767c032dd1c9 arborchat/graphviz-raw/example-forest.dot -rw-r--r-- 1.1 KiB
fa40c07bChris Waldon doc: populate example replies 1 year, 2 months ago
                                                                                
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
digraph forest {
    rankdir=BT
    IdentityA [rank=0,label="Identity: Alice"]
    IdentityB [rank=0,label="Identity: Bob"]
    CommunityA [rank=0,label="Community: Cryptography"]
    CommunityB [rank=0,label="Community: Arbor"]

    ReplyA [rank=1,label="Hey all!"]
    ReplyB [rank=1,label="Is P=NP?"]
    ReplyC [rank=2,label="I hope not!"]

    ReplyD [rank=1,label="How does this work?"]
    ReplyE [rank=2,label="Reply to any message"]
    ReplyF [rank=2,label="Like this?"]
    ReplyG [rank=3,label="You got it!"]
    
    ReplyA -> CommunityA
    ReplyA -> IdentityA [label="author",color="gray",style="dashed"]
    ReplyB -> CommunityA
    ReplyB -> IdentityB [label="author",color="gray",style="dashed"]
    ReplyC -> ReplyB
    ReplyC -> IdentityA [label="author",color="gray",style="dashed"]
    
    ReplyD -> CommunityB
    ReplyD -> IdentityA [label="author",color="gray",style="dashed"]
    ReplyE -> ReplyD
    ReplyE -> IdentityB [label="author",color="gray",style="dashed"]
    ReplyF -> ReplyD
    ReplyF -> IdentityA [label="author",color="gray",style="dashed"]
    ReplyG -> ReplyF
    ReplyG -> IdentityB [label="author",color="gray",style="dashed"]
}