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



最近の日記
2025年02月13日
dvipdfmx ICC profile format spec. version 4.3.0
2025年01月29日
ham/wsjtx
2025年01月27日
wip/wsjtx 5.4.2
2025年01月25日
ham/wsjtx
2025年01月15日
今更 advent calendar
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)