69 lines
2.1 KiB
Plaintext
69 lines
2.1 KiB
Plaintext
msc {
|
|
# options - separate with , end with ;
|
|
#
|
|
# arcgradient=20, # slopes the arcs.
|
|
# hscale="0.8", # horizontally squeezes or stretches the chart
|
|
# width="600", # sets the maximum width of the chart (pixels).
|
|
# # xù and msgenny also allow the value 'auto' - it scales
|
|
# # rendered svg's to maximum available width.
|
|
# watermark="a watermark", # adds a watermark (xù only!)
|
|
wordwraparcs=on; # automatically wrap labels on arcs. Default: off
|
|
|
|
# entities
|
|
#
|
|
# possible attributes
|
|
# label
|
|
# textcolor, textbgcolor, linecolor # as advertised
|
|
#
|
|
# these color the arcs departing from the entity:
|
|
# arctextcolor, arctextbgcolor, arclinecolor
|
|
#
|
|
|
|
app,
|
|
dns [label="Custom DNS"],
|
|
iptables,
|
|
pr0xy [label="Transparent pr0xy"],
|
|
i2p;
|
|
|
|
# arcs
|
|
#
|
|
# attributes:
|
|
# label, textcolor, textbgcolor, linecolor # as advertised
|
|
# arcskip # arc starts here, ends the specified amount
|
|
# # of lines lower.
|
|
# # use e.g. arcskip="1" to end on the next line.
|
|
#
|
|
# arc types: ->, =>, =>>, >>, -x, :>,
|
|
# <->, <=>, <<=>>, <<>>, <:>
|
|
# --, ::, ..
|
|
# note, box, abox, rbox
|
|
|
|
app => dns [label="Request resolution of domain name"];
|
|
dns => app [label="Fake IP"];
|
|
app => iptables [label="data to IP"];
|
|
iptables => pr0xy [label="forward data"];
|
|
pr0xy >> dns [label="reverse DNS request"];
|
|
dns >> pr0xy [label="b32 domain name"];
|
|
pr0xy => i2p [label="forward data"];
|
|
i2p => pr0xy [label="response"];
|
|
pr0xy => app [label="response"];
|
|
|
|
|
|
# inline expressions (xù only):
|
|
# xù only : alt, else, opt, break, critical,
|
|
# neg, strict, seq, assert, exc
|
|
# ref, consider, ignore, loop, par
|
|
#
|
|
# # e.g. to describe to alternatives :
|
|
# shop alt bank [label="payment OK"]{
|
|
#
|
|
# shop =>> bank [label="Thanks dude!"];
|
|
#
|
|
# --- [label="payment NOK"]; # split alternatives with ---
|
|
#
|
|
# shop =>> bank [label="that was not enough :-("];
|
|
# bank >> shop [label="Sorry. Bye."];
|
|
# shop rbox shop [label="payment pending process"];
|
|
# };
|
|
}
|