LinuxCommandLibrary

sfdp

TLDR

Layout graph

$ sfdp [input.dot] -o [output.png]
copy
Output as SVG
$ sfdp -Tsvg [input.dot] -o [output.svg]
copy
Large graph layout
$ sfdp -Goverlap=prism [input.dot] -o [output.png]
copy
With custom parameters
$ sfdp -Gsize="10,10" [input.dot] -o [output.png]
copy

SYNOPSIS

sfdp [-T format] [-o file] [-G options] input

DESCRIPTION

sfdp layouts large graphs. It's scalable force-directed placement.
Designed for large graphs. Thousands of nodes.
Multilevel approach. Coarsening then refining.
Handles clusters well. Community structure.
Part of Graphviz suite. DOT format input.

PARAMETERS

-T FORMAT

Output format (png, svg, pdf).
-o FILE
Output file.
-G ATTR=VAL
Graph attribute.
-N ATTR=VAL
Node attribute.
-E ATTR=VAL
Edge attribute.
-Goverlap MODE
Overlap removal.

CAVEATS

Memory intensive. Large graphs slow. Part of Graphviz package.

HISTORY

sfdp is part of Graphviz, implementing a scalable force-directed placement algorithm for large graph layouts.

SEE ALSO

dot(1), neato(1), fdp(1), twopi(1)

Copied to clipboard