\fBDia\fR 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\&.
\fBDia\fR
is used to create diagrams. Dia has a number of basic tools, like lines and boxes but can also dynamically load
\fIsheets\fR. A sheet is a collection of tools that are used in a certain type of diagram.
.PP
Most diagram objects in \fBDia\fR have handles\&. Lines can be connected to these handles and this way graph structures can be formed\&. When objects are moved or resized the connections will follow the objects\&.
Most diagram objects in
\fBDia\fR
have
\fIhandles\fR. Lines can be connected to these handles and this way graph structures can be formed. When objects are moved or resized the connections will follow the objects.
.PP
Diagrams drawn in \fBDia\fR can be exported PostScript\&.
Export loaded file in decimal given width and/or height. It is allowed to only select width or height. E.g.
\fB\-\-size=\fR\fB\fI520x\fR\fR
exports an image that is 520 pixels wide, while
\fB\-\-size=\fR\fB\fIx900\fR\fR
exports an image of 900 pixels height.
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
\fBNote\fR
This option is currently only implemented for the PNG export filter.
.TP
\fB\-s \fIWxH\fR\fR \fB\-\-size=\fIWxH\fR\fR
Export loaded file in decimal given width and/or height\&. It is allowed to only select width or height\&. E\&.g\&. \fB\-\-size=\fI520x\fR\fR exports an image that is 520 pixels wide, while \fB\-\-size=\fIx900\fR\fR exports an image of 900 pixels height\&.
.RS
.Sh "Note"
This option is currently only implemented for the PNG export filter\&.
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.
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\&.
Export loaded file in FORMAT and exit. Format are described below.
.TP
\fB\-v\fR \fB\-\-version\fR
Display \fBdia\fR version and exit\&.
Display
\fBdia\fR
version and exit.
.SH "EXPORT FORMATS"
.PP
The following export formats are supported by \fBdia\fR\&.
The following export formats are supported by
\fBdia\fR.
.TP 3
\(bu
cgm (Computer Graphics Metafile, ISO 8632)
cgm
(Computer Graphics Metafile, ISO 8632)
.TP
\(bu
dia (Native dia diagram)
dia
(Native dia diagram)
.TP
\(bu
dxf (Drawing Interchange File)
dxf
(Drawing Interchange File)
.TP
\(bu
eps or epsi oreps\-builtin or eps\-pango (Encapsulated PostScript)
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, whileeps\-builtin uses a dia specific font renderer\&. If you have problems with Pango rendering, e\&.g\&. Unicode, try eps\-builtin instead\&.
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