|dia [-c] [--credits] [-e OUTPUT] [--export=OUTPUT] [-L LAYER,LAYER,...] [--show-layers=LAYER,LAYER,...] [-h] [--help] [-n] [--nosplash] [-s WxH] [--size=WxH] [-t FORMAT] [--filter=FORMAT] [-v] [--version] [file ...]|
Dia is used to create diagrams. Dia has a number of basic tools, like lines and boxes but can also dynamically load sheets. A sheet is a collection of tools that are used in a certain type of diagram.
Most diagram objects in Dia have connection points. Lines can be connected to these connection points and this way graph structures can be formed. When objects are moved or resized the connections will follow the objects.
Diagrams drawn in Dia can be exported as PostScript.
Dia accepts the following options:
-c --creditsDisplay credits list and exit.
-e OUTPUT --export=OUTPUTExport loaded file to OUTPUT and exit.
-h --helpDisplay a list of all commandline options.
-n --nosplashDo not show the splash screen.
-s WxH --size=WxHExport loaded file in decimal given width and/or height. It is allowed to only select width or height. E.g. --size=520x exports an image that is 520 pixels wide, while --size=x900 exports an image of 900 pixels height.
This option is currently only implemented for the PNG export filter.
-L LAYER,LAYER,... --show-layers=LAYER,LAYER,...Only include specified layers when exporting. Layers can be specified either as a layer name, the layer number or a numeric range X-Y of layers. --show-layers=background,2-5 shows the layer named background and layers 2-5, --show-layers=2- shows layers 2 and up.
-t FORMAT --export-to-format=FORMATExport loaded file in FORMAT and exit. Format are described below.
-v --versionDisplay dia version and exit.
The following export formats are supported by dia.
o cgm (Computer Graphics Metafile, ISO 8632)
o dia (Native dia diagram)
o dxf (Drawing Interchange File)
o eps or eps-builtin or eps-pango (Encapsulated PostScript)
The format specifications eps and eps-pango both use the font renderer of the Pango library, while eps-builtin uses a dia specific font renderer. If you have problems with Pango rendering, e.g. Unicode, try eps-builtin instead.
o fig (XFig format)
o mp (TeX MetaPost macros)
o plt or hpgl (HP Graphics Language)
o png (Portable Network Graphics)
o shape (Dia Shape File)
o svg (Scalable Vector Graphics)
o tex (TeX PSTricks macros)
o wpg (WordPerfect Graphics)
o wmf (Windows MetaFile)
dia creates a directory .dia in the users home, which contains different files to store user preferences. To reset dia to its default behaviour, just remove the respective file:
o defaults.dia: contains default values for elements (XML format).
o diarc: keeps dia preferences (ASCII).
o history: keeps the list of last edited diagrams (ASCII).
o menurc: contains an automated accelerator map dump (Lisp).
o persistence: contains GUI information, e.g. open windows (XML).
o pluginrc: the list of loaded plugins (XML).
Copyright 1999 Alexander Larsson.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
This manual was written by Fredrik Hallenberg.
Fredrik Hallenberg <email@example.com>Author.
W. Borgert <firstname.lastname@example.org>Author.
Alan Horkan <email@example.com>Author.
Copyright © 1999, 2004 Fredrik Hallenberg, W. Borgert, Alan Horkan
1. Pango http://www.pango.org/
|[FIXME: source]||DIA (1)||2004-11-26|