Skip to content

sfdp spring smoothing

Engine
sfdp
Command, both sides
dot -Ksfdp -Tsvg input.gv
Features
smoothing=springmultilevel
Result
identical on macOSidentical under portable math
Comparing…
C Graphviz 16.1.0 output, cyan plategraphviz-pure, native macOS build output, magenta plate

C onlyport onlyboth: in register

Input

attr_smoothing_spring.gv, 95 lines
graph rnd60 {
layout=sfdp;
smoothing=spring;
node [shape=point];
0 -- 1;
0 -- 2;
0 -- 4;
0 -- 5;
0 -- 7;
0 -- 9;
0 -- 12;
1 -- 3;
1 -- 13;
1 -- 21;
1 -- 28;
2 -- 16;
2 -- 18;
2 -- 34;
2 -- 42;
3 -- 11;
3 -- 23;
3 -- 32;
3 -- 57;
4 -- 6;
4 -- 48;
4 -- 53;
4 -- 55;
5 -- 8;
5 -- 36;
6 -- 14;
6 -- 15;
6 -- 46;
6 -- 52;
7 -- 17;
7 -- 24;
7 -- 32;
7 -- 40;
8 -- 10;
8 -- 35;
9 -- 38;
9 -- 59;
11 -- 44;
11 -- 45;
12 -- 31;
12 -- 50;
13 -- 20;
13 -- 59;
14 -- 33;
15 -- 50;
17 -- 19;
18 -- 22;
18 -- 27;
18 -- 29;
18 -- 30;
18 -- 36;
19 -- 33;
19 -- 42;
20 -- 25;
20 -- 26;
21 -- 44;
21 -- 46;
22 -- 38;
23 -- 19;
23 -- 51;
26 -- 10;
26 -- 37;
28 -- 18;
29 -- 37;
31 -- 26;
31 -- 37;
31 -- 43;
31 -- 56;
34 -- 27;
34 -- 39;
35 -- 36;
35 -- 43;
35 -- 53;
36 -- 41;
36 -- 48;
36 -- 56;
37 -- 47;
38 -- 4;
39 -- 58;
40 -- 49;
43 -- 44;
45 -- 54;
48 -- 21;
49 -- 15;
49 -- 20;
50 -- 56;
51 -- 29;
52 -- 20;
59 -- 29;
}

Files

FileBytesSHA-256
input.gv910
c.svg C25,4268de1b1192ef2b47b0f337b94b1fad1cab55ffb020b3bbef4338267921838a428
rust.svg Rust25,43723fa2a69ef66d4bf299bfa40e65bea3af8a15aa44dcf3a2f46d7a59ecc97cd13

The two hashes differ even when the outputs are identical, because each file keeps its own generator comment. Made by scripts/site-samples.sh.