Skip to content

Instantly share code, notes, and snippets.

@taesiri
Last active January 2, 2025 17:18
Show Gist options
  • Save taesiri/c5e74229665d5296ae7df14578d42e73 to your computer and use it in GitHub Desktop.
Save taesiri/c5e74229665d5296ae7df14578d42e73 to your computer and use it in GitHub Desktop.

diff

44d43
<     6 -> 5;
50d48
<     2 -> 7;
57d54
<     4 -> 5;
digraph G {
// Graph settings
layout="dot";
rankdir="LR";
splines="curved";
nodesep=0.8;
ranksep=0.4;
overlap=false;
concentrate=true;
// Node settings
node [
shape=circle,
style="filled,solid",
fillcolor=white,
width=0.5,
height=0.5,
fixedsize=true
];
// Edge settings
edge [
arrowsize=0.6,
penwidth=1,
color="#666666",
fontcolor="#666666"
];
0 [label="0"];
1 [label="1"];
2 [label="2"];
3 [label="3"];
4 [label="4"];
5 [label="5"];
6 [label="6"];
7 [label="7"];
1 -> 0;
4 -> 0;
0 -> 2;
7 -> 2;
2 -> 6;
7 -> 5;
4 -> 2;
2 -> 3;
6 -> 7;
3 -> 2;
1 -> 7;
3 -> 5;
3 -> 0;
0 -> 1;
2 -> 5;
3 -> 4;
0 -> 6;
5 -> 6;
1 -> 4;
2 -> 1;
0 -> 4;
4 -> 3;
6 -> 4;
2 -> 0;
5 -> 2;
}
digraph G {
// Graph settings
layout="dot";
rankdir="LR";
splines="curved";
nodesep=0.8;
ranksep=0.4;
overlap=false;
concentrate=true;
// Node settings
node [
shape=circle,
style="filled,solid",
fillcolor=white,
width=0.5,
height=0.5,
fixedsize=true
];
// Edge settings
edge [
arrowsize=0.6,
penwidth=1,
color="#666666",
fontcolor="#666666"
];
0 [label="0"];
1 [label="1"];
2 [label="2"];
3 [label="3"];
4 [label="4"];
5 [label="5"];
6 [label="6"];
7 [label="7"];
1 -> 0;
4 -> 0;
0 -> 2;
7 -> 2;
2 -> 6;
7 -> 5;
4 -> 2;
2 -> 3;
6 -> 5;
6 -> 7;
3 -> 2;
1 -> 7;
3 -> 5;
3 -> 0;
2 -> 7;
0 -> 1;
2 -> 5;
3 -> 4;
0 -> 6;
5 -> 6;
1 -> 4;
4 -> 5;
2 -> 1;
0 -> 4;
4 -> 3;
6 -> 4;
2 -> 0;
5 -> 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment