OnWorks favicon

dia - Online in the Cloud

Run dia in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dia that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dia - a diagram drawing program


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 --credits
Display credits list and exit.

-e OUTPUT --export=OUTPUT
Export loaded file to OUTPUT and exit.

-h --help
Display a list of all commandline options.

-n --nosplash
Do not show the splash screen.

-s WxH --size=WxH
Export 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 --filter=FORMAT
Export loaded file in FORMAT and exit. Format are described below.

-v --version
Display dia version and exit.


The following export formats are supported by dia.

· cgm (Computer Graphics Metafile, ISO 8632)

· dia (Native dia diagram)

· dxf (Drawing Interchange File)

· 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.

· fig (XFig format)

· mp (TeX MetaPost macros)

· plt or hpgl (HP Graphics Language)

· png (Portable Network Graphics)

· shape (Dia Shape File)

· svg (Scalable Vector Graphics)

· pstricks-tex (TeX PSTricks macros)

· pgf-tex (TeX PGF/tikz macros)

· wpg (WordPerfect Graphics)

· wmf (Windows MetaFile)

Use dia online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands