Graphviz and ascii output

后端 未结 5 1985
余生分开走
余生分开走 2021-01-30 12:50

Is it possible to draw ASCII diagram using Graphviz?

Something like that:

digraph
{
  this -> is
  this -> a
  a -> test
}

Giv

5条回答
  •  清歌不尽
    2021-01-30 13:01

    Here is equivalent commands for linux:

    First install cpanminus

    sudo apt install cpanminus
    

    After you can install GraphEasy

    sudo cpanm Graph::Easy
    

    Here is a sample usage

    cat input.dot | graph-easy --from=dot --as_ascii
    

提交回复
热议问题