= DOT言語 =
== DOT言語とは ==
グラフ描画プログラム[http://www.graphviz.org/ Graphviz](Graph Visualization Software)で使用される、グラフ記述言語。
== 資料 ==
* [http://www.graphviz.org/Documentation.php Graphviz Documentation] 本家
* [http://homepage3.nifty.com/kaku-chan/graphviz/index.html Graphviz チュートリアル]
* [http://ashitani.jp/gv/ Ajax/Graphviz] web上でプレビュー
* [http://reddog.s35.xrea.com/wiki/Graphviz.html Graphviz-mynote]
* [http://www.cbrc.jp/~tominaga/translations/index.php#dot] GraphvizコマンドDOTのユーザーズガイド日本語訳
= やること =
* 上記ページ読み
* フローの図形(「定義済み」両端に縦線の入った四角)の出し方調べ。最悪だと独自にps作成かも
* 線のつなぎ方調べ
* 垂直か水平方向に整える。斜め線はない。
* 線が出るのは上下左右の真ん中(4点)
* 分岐/合流する場合は箱から少し離れたところで。
* 生成イメージ雛形作成
{{{
途中案(資料のAjax/Graphvizを使うとプレビューできます)
// START
node[shape=rect style=rounded height=0.2 width=1]; start; end;
// FUNC
node[shape=rect style=""]; funcA;funcB;funcC;
// SWITCH
node[shape=diamond style=""]; switch;
// CONNECT
node[shape=circle label="" width=0.2]; connect;
start->funcA->switch->funcB->end[weight=10];
switch->funcC->connect;
}}}