Render a gif image using stdin and stdout

fdp

  • Render an image of a `force-directed` network graph from a `graphviz` file.
    Layouts: `dot`, `neato`, `twopi`, `circo`, `fdp`, `sfdp`, `osage` & `patchwork`.
    More information: <https://graphviz.org/doc/info/command.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

echo "{{digraph {this -> that} }}" | fdp -T gif > {{path/to/image.gif}}

click the source code to copy install fdp on any operating system with command-not-found.com