Skip to content

Instantly share code, notes, and snippets.

@david415
Last active February 18, 2017 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save david415/5e0ba0e8256f0fd3f06a8264a27b5b14 to your computer and use it in GitHub Desktop.
Save david415/5e0ba0e8256f0fd3f06a8264a27b5b14 to your computer and use it in GitHub Desktop.
mixnet logo
# dot mixnet_graph.dot -Tpng -o rgb_mix.png -Tpng -o rgb_mix.png
digraph rgb_mixnet {
ratio = fill;
size="3,3";
rank = min;
nodesep=1.4;
subgraph cluster0 {
#rankdir = RL;
node [shape = doublecircle, fillcolor=black, style="filled", width=1,height=1]; e;
node [shape = circle, fillcolor="black", width=1, height=1];
style=filled;
color="white";
e -> c [style="setlinewidth(8)"];
c -> b [style="setlinewidth(8)"];
b -> d [style="setlinewidth(8)"];
d -> a [color = "red", style="setlinewidth(8)"];
a -> c [color = "red", style="setlinewidth(8)"];
a -> d [color = "green", style="setlinewidth(8)"];
c -> d [color = "red", style="setlinewidth(8)"];
c -> e [color = "green", style="setlinewidth(8)"];
e -> a [style="setlinewidth(8)"];
b -> c [color = "green", style="setlinewidth(8)"];
d -> e [style="setlinewidth(8)"];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment