Re: [Pas-dev] drawing diagrams?
Status: Beta
Brought to you by:
mortis
From: Mental <me...@ne...> - 2002-05-24 18:33:18
|
On Fri, 2002-05-24 at 14:11, Kyle R . Burton wrote: > As part of the documentation push I'm getting to the piont where I want t= o > start drawing some diagrams. The output format will need to probably be = PNG, > or PS, as the diagrams will be linked from the sgml documents. >=20 > Anyone have any suggestions for what I should use? I've thought about Di= a, > but it's not exactly what I'm after. The kinds of diagramming I'm talkin= g > about are of the type you would typicly find in printed manuals or books: > You could look into neato or dot. I'm not quite sure what you want stuff to look like, but it might be useful. The syntax is easy, and you can output your diagrams in a variety of formats. diagraph "Org::Bgw::Pas" { "something" -> "somethingelse" [dir=3Dboth len=3D2]; } The diagram files would be small enough to check into cvs, and you shouldnt have a hard time then generating images or whatever. From the dot man page: DESCRIPTION dot draws directed graphs. It works well on DAGs and other graphs that can be drawn as hierarchies. It reads attributed graph files and writes drawings. By default, the output format dot is the input file with layout coor=AD dinates appended. To generate PostScript, use the -Tps option. Other choices are -Tmif (FrameMaker graphics), -Thpgl (HP pen plotters), and -Tpcl (Laserjet printers), -Tgif (pixel graphics), -Timap, and -Tismap (imagemap files for httpd servers that mark out rectangles for each node that has a non-null URL attribute.). --=20 Mental (Me...@Ne...) |