crate graph with dot file using graphviz on linux


dot

input.dot

graph demo{
    1 -- 2
    2 -- 3
    3 -- 4
    1 -- 4
}

dot -Tpng input.dot > out.png
dot -Tps input.dot > output.eps

view results
out.png

Reference

History

  • 2020/1/17: created.

Author: kezunlin
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source kezunlin !
评论
  TOC