graphviz(DOT言語)についてのメモ。 (a (b . c) d) という内容のコンスセルを描画してみます。 // (a . ((b . c) . (d . nil))) // (a (b . c) d) digraph { graph [rankdir = LR]; // 横向き // ノードの定義。 // record型にするとlabelをバー(|)で区分けできる。 // {}で囲うと並べる向きを変えられる。 // 先頭を<xxx>とすると要素への接続ポート名を定義できる。 cons1 [shape = record, label = "{a|*}"]; cons2 [shape = record, label = "{*|*}"]; cons3 [shape = record, label = "{b|c}"]; cons4 [shape = record, label =