hns - 日記自動生成システム - Version 2.19.9

先月 2006年05月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2006年05月07日() 旧暦 [n年日記] [更新:"2006/05/07 20:20:26"]

#1 [pkgsrc] GraphViz and dot で図を描く

pkgsrc/graphics/graphviz で make install すると dot 等が入る。 それを使って見る。
graph hello {

// Comment: Hello World from ``dot``
// a graph with a single node Node1

Node1 [label="Hello, World!"]

}
dot -Tps hello.dot  > /tmp/ps
gs /tmp/ps
digraph simple_hierarchy {

B [label="Hello"]      // node B
E [label="World !"]  // node E

B->E [label=" graphviz and dot ", fontcolor=darkgreen] // edge B->E

}
上では -Tps として PostScript 形式で出力したが、他にも次のようなものが使える
-Tps(PostScript)
-Tsvg -Tsvgz(Structured Vector Graphics)
-Tfig(XFIG graphics)
-Tmif(FrameMaker graphics)
-Thpgl(HP pen plotters)
-Tpcl(Laserjet printers)
-Tpng -Tjpg -Tgif(pixel graphics)
-Timap(imagemap files for httpd servers that mark out rectangles

for each node that has a non-null "href" attribute.)
-Tcmapx(client-side imagemap for use in html and xhtml).
-Tismap and -TcmapObsolete



最近の日記
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)