User Commands dia(1)
NAME
dia - a diagram drawing program
SYNOPSIS
dia [--credits] [--export=file] [--help] [--nosplash] [--
size=WxH] [--filter=TYPE] [--version] [--log-to-stderr] [--
show-layers] [--verbose] [--nonew] [file ...]
DESCRIPTION
Dia is a general purpose diagram editor. Dia has a number
of basic tools, like lines and boxes but can also dynami-
cally load sheets. A sheet is a collection of tools that are
used in a certain type of diagram. Dia is easily extensible
through the use of user defined sheets.
All diagram objects in Dia have handles. Handles are small
boxes on an object which allow the object to be resized, or
connected to. Lines can be connected to each other and other
objects with these handles and in this way graph structures
can be formed. When objects are moved or resized the connec-
tions will follow the objects.
Diagrams drawn in Dia can be exported to numerous formats
which are described in the EXPORT FORMATS section.
OPTIONS
Dia accepts the following options:
-c, --credits
Display credits and exit.
-e, --export=file
Export loaded file to file.
-h, --help
Display a list of all command line options.
-n, --nosplash
Do not show the splash screen.
SunOS 5.11 Last change: 31 Oct 2008 1
User Commands dia(1)
-s, --size=WxH
Export loaded file in decimal given width and/or height.
You may only specify width or height. E.g. --size=520x
exports an image that is 520 pixels wide, while --
size=x900 exports an image of 900 pixels in height.
Note this option is currently only implemented for the
PNG export filter.
-t, --filter=TYPE
Export loaded file in format TYPE and exit. Formats are
described below.
-v, --version
Display Dia version and exit.
-l, --log-to-stderr
Send error messages to stderr instead of showing dia-
logs.
-L, --show-layer=LAYER,LAYER,...
Show only specified layers (e.g. when exporting). Can be
either the layer name or a range of layer numbers (X-Y).
--verbose
Generate verbose output.
--nonew
Do not create an empty diagram.
SunOS 5.11 Last change: 31 Oct 2008 2
User Commands dia(1)
EXPORT FORMATS
The following export formats are suppored by Dia:
]o cgm (Computer Graphics Metafile, ISO 8632)
]o dia (Native dia diagram)
]o dxf (Drawing Interchange File)
]o eps or epsi or eps-builtin or eps-pango (Encapsulated
Postscript)The format specifications eps, epsi, and
eps-pango all 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)
EXAMPLES
Example 1: Launching dia
example% dia
Example 2: Exporting dia file to cgm format
example% dia --export=dia-test.sgm --filter=cgm dia-test.dia
EXIT STATUS
The following exit values are returned:
-1 Error
0 OK
FILES
The following files are used by this application:
/usr/bin/dia Executable for Dia.
ATRIBUTES
SunOS 5.11 Last change: 31 Oct 2008 3
User Commands dia(1)
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWdia
Interface stability Volitile
SEE ALSO
Dia Manual
attributes(5), gnome-std-options(5)
NOTES
Written by Frederik Hallenberg, W. Borgert, Matt Keenan, Sun
Microsystems Inc., 2008.
Copyright 1991 Alexander Larsson.
SunOS 5.11 Last change: 31 Oct 2008 4
|