Home New Help Edit

Graphvizメモ


Suns & Moon Laboratory
dev/graphviz.html

例1


dotファイルの例

example1.dot
digraph example1 { "ayame" -> "asagao"; "ayame" -> "himawari"; "ayame" -> "gold"; "asagao" -> "silver"; "asagao" -> "black"; "black" -> "silver"; "black" -> "bronze"; "black" -> "cool"; "gold" -> "asagao"; "gold" -> "hot"; "hot" [style=bold] "cool" [style=bold] "himawari" [style=bold] "silver" [style=bold] "bronze" [style=bold] }
PNGに変換して、ペイントで開く。

example1.bat
dot -Tpng -o example1.png example1.dot %windir%\system32\mspaint.exe example1.png
Home New Help Edit
2019-11-21 10:18:54 32400