Desktop diagramming with Dia and Kivio
Move that stencile
Download the whole article as PDF
Short URL: http://fsmsh.com/2073
- 2007-06-01
- User space | Easy
-
Write a full post in response to this!
This content was sponsored by:
Don’t let the simplicity of use fool you. Both Kivio and Dia, two free software diagramming tools, are very efficient at what they do. If you need to design a complex flow chart or create a no-fuss UML diagram then you could do a lot worse than to choose either of these packages. The tools have 90% of the expected functionality with only 10% of the hassle and fuss that more complex and unnecessarily feature rich proprietary diagramming tools deliver. The learning curve is small and the end result is potentially professional.
GNOME and KDE are the predominant desktop environments for GNU/Linux. Both environments sport their own office suites; these two office suites try hard to contend with the mastery of OpenOffice; it is important to note OpenOffice does not have a diagramming tool such as Microsoft Visio. You may argue with some degree of success that Impress or Draw from OpenOffice may mimic the functionality, but Impress or Draw’s emphasis is on presentation and vector based drawing respectively and not on diagramming using precreated symbols.
In this article, I will briefly mention how to install KOffice’s Kivio and GNOME Office’s Dia application and quickly tour the products. I personally believe that both tools perform their specified function well and are amazingly easy to learn—the basics are absorbed within five minutes. In the end, because of their fundamental equality, personal bias may pull you to choose either one of these applications.
Installation
I have chosen Ubuntu 6.10 as the OS for this demo, which is the newest version of Ubuntu at the time of writing.
Don’t be fooled by the fact that the applications are part of KOffice or GNOME Office: both will run happily under either of the two desktop environments.
Before we start you might want to install the Adept package manager, which the KDE environment may be missing: to install this utility simply execute the following from the command line:
sudo apt-get install adept libqt-perl
You should now be able to launch Adept via K menu/System/Adept Manager Manage Packages
To install Kivio (version 1.5.2) launch Adept and fill in the system admin password that you use with sudo; via the search box at the top of the Adept window, search for “kivio”. You should now be seeing a view similar to figure 1. The packages Kivio and Kivio-data should be set to the status of “install requested” and then click on the green tick icon at the top of the dialogue. You now have a working version of Kivio executable from both GNOME and KDE.
What I refer to as the “GNOME office” is not really an office suite but rather a collection of tools, which includes the well-known and respected AbiWord, Dia and a few other assorted applications.
To install Dia version 0.95 via the GUI from within GNOME, launch Synaptic Package Manager via Applications/Add Remove; you will need to fill in your admin password when prompted. Select Graphics/Dia Diagram Editor as shown in figure 2, then click on OK.
To install from KDE you are able to search for “dia” in Adept and install.
Dia basics
Once Dia has started, you will find yourselves with two separated windows as shown in figure 3.
The main left hand window is the drawing plane and the right is the diagram editor. If the left window is missing or you have removed it by mistake, simply go to the Diagram editor and select File/new.
To select different symbols click on the sheet name. In figure 3 the name is “Network”, but normally you start with the “Basic” flow charting sheets: select other sheets and choose the one you consider relevant. Back in the diagram editor drag and drop the symbols across onto the drawing pane.
Underneath the symbols sit icons that allow the creation of lines of various thicknesses, colours and structures. Above the symbols lie special icons for importing images or connecting objects with different shapes; ‘T’ stands for text and obviously allows for the annotation of your diagram.
With this basic functionality, you will be able to create reasonable diagrams within minutes. The failure of some applications is their developer’s desire to include every function imaginable which results in overly complex menu structures that have a significant and inappropriate learning curve. Dia follows the highly effective UNIX spirit of staying focused and doing its specified function well.
To save a file select File/Save from the drawing plane itself. You may also export the current project to many different formats including TIFF, JPEG and SVG. The ability to save to SVG is a form of future proofing as SVG is an XML format that stands a significant chance of becoming the graphics standard for web browsing. XML is just text and is, therefore, much easier to manipulate on the fly than a binary such as JPEG.
Dia activates two other dialogues by pressing F8 or F9 respectively, or by visiting the file menu option of the diagram editor. F8 activates the diagram tree which represents all the symbols within your drawing as objects; right clicking on an object in the tree allows for easy access to the property dialogue where you can change properties such as colour and line type: this efficiency makes rapid and consistent editing possible.
Pressing F9 activates a sheet and object dialogue that allows you to add and move objects (such as computers or flags for example) across different sheets. For example, you may move a computer symbol from the sheet “Cisco—Computer” to “Networks” if desired. You may also import SVG like graphics as objects, but more on this later.
The drawing plane itself also has a number of menu options. “Diagram” allows you to separate a drawing into layers so that you can manipulate objects on one layer without affecting another. The “Objects” menu option enables you to send objects backwards and forwards so as to be behind or in front of other objects, with the ability to set transparency for background objects. This feature allows for sophisticated and pleasing diagrams.
In summary, Dia is easy to learn and definitely not overly complicated, yet it still manages to deliver the functionality required to produce detailed diagrams that are pleasing to the eye.
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
This article is made available under the "Attribution-NonCommercial-Sharealike" Creative Commons License 3.0 available from http://creativecommons.org/licenses/by-nc-sa/3.0/.
Biography
Alan Berg Bsc. MSc. PGCE, has been a lead developer at the Central Computer Services at the University of Amsterdam for the last eight years. In his spare time, he writes computer articles. He has a degree, two masters and a teaching qualification. In previous incarnations, he was a technical writer, an Internet/Linux course writer, and a science teacher. He likes to get his hands dirty with the building and gluing of systems. He remains agile by playing computer games with his kids who (sadly) consistently beat him physically, mentally and morally.
You may contact him at reply.to.berg At chello.nl
- Login or register to post comments
- 51197 reads
- Printer friendly version (unavailable!)




Best voted contents
-
Special 301: FOSS users. Now we're all Communists and Criminals
Gary Richmond, 2010-03-05 -
Microsoft's Internet Driving Licence: stupid, unworkable and unenforceable
Gary Richmond, 2010-03-10 -
The Bizarre Cathedral - 69
Ryan Cartwright, 2010-03-12 -
The Bizarre Cathedral - 68
Ryan Cartwright, 2010-02-19
Buzz authors
Free Software news
- #ubuntu #linux 6 ##Ubuntu 10.04 Lucid #Lynx Wallpapers http://goo.gl/fb/1MRl #freesoftware #livecd #softwareprojects
- Revision 379: [No log message]: Changed Paths: Modify /trunk/konno-freesoftware/get_title.py… http://goo.gl/fb/JCTT
- http://konno-freesoftware.appspot.com/get を変更すると, 世界中の何百何千というアプリケーションに影響を及ぼす可能性がある. しかも, 後方互換性はない. それを断行できるかできないか, それが問題だ.
- もはやあれだ, なんとかの星の下のなんとかだ. そう, #Konno Free Software Blog は #Ruby という名の星の下に生まれたとしか言いようがない, だ.
- #Ruby http://www.ruby-lang.org/ja/man/html/style.css - もしやと思ったが, やはり Comic Sans MS だ. http://konno-freesoftware.blogspot.com/ と同じ.
Similar entries
Other sites
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). All about free software -- free as in freedom!
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Linux performance: is Linux becoming just too slow and bloated?
Mitch Meyran, 2010-01-26 -
Web code is already open - why not make it free as well
Ryan Cartwright, 2010-01-20 -
Save "Sita Sings the Blues" from the Flash format: can you convert FLA?
Terry Hancock, 2010-01-29 -
Microsoft's Internet Driving Licence: stupid, unworkable and unenforceable
Gary Richmond, 2010-03-10 -
Question Copyright's "Minute Memes" challenge copyright rhetoric
Terry Hancock, 2010-01-15
Hot topics - last 21 days
Odiogo
Free Software Magazine uses Apollo, project management and CRM for its everyday activities!



Read visio file
Submitted by skylixx (not verified) on Fri, 2007-04-13 00:11.
Vote!can Dia/Kivio readvisio file format (VDA)? I want to convert all my diagrams from Visio to Dia/Kivio.
Probably not.
Submitted by Anonymous visitor (not verified) on Thu, 2007-04-19 02:07.
Vote!Probably not. In my humble opinion, Dia or Kivio aren't as powerful as Visio and therefore, not able to handle Visio's many features.
The need for stencils
Submitted by cmoss28 (not verified) on Tue, 2007-05-22 16:49.
Vote!After a couple of years of searching for that perfect Visio alternative I've come to the conclusion that there isn't one. That's not to say that Visio is better, there is just nothing compatible. You did a fine job of putting this in a nutshell and I personally feel that instead of making these compatible with Visio the developers/users need to develop the stencils and templates for either of these programs. I mean after all if the stencils were available what reason would anyone have for using Visio. I prefer Dia because I can run it on my windows box at work. (not that I really want to but have to).
I use Dia regularly
Submitted by Terry Hancock on Mon, 2007-06-11 06:32.
Vote!I use Dia pretty regularly in software documentation. I find it's a lot faster than either Inkscape or Skencil for standard charts (like UML, entity-relation, and flow chart).
My only complaint about it is that it appears to be very difficult to script new drawing modes for it (I haven't figured out how to do it, anyway).
I haven't tried Kivio, and didn't realize it was in the same application genre. I may have to look into it.
VSD/VSS import into Dia and/or Kivio
Submitted by Anonymous visitor (not verified) on Tue, 2007-07-17 04:19.
Vote!Could somebody explain what 'potentially ... licensing dangers associated with it [visio format]' is?
Dia has a plugin to support VDX files.
Dia and Kivio don't support VSD/VSS just because there wasn't documentation about format available.
Btw, most of 'commercial' VSS stencils (for example Cisco's) can be converted with help of vsdump (http://freshmeat.net/projects/vsdump/).
Dia is not perfect but is Free!
Submitted by Dean Tomi (not verified) on Wed, 2007-08-22 22:12.
Vote!Does anyone know how much cost Visio Professional do not mention Enterprise - which is real one and only. My company bought me for job use Visio license and I use it daily. But I like alternative. Dia is one. And the progress since past years I use it is quite good. Last week I wrote a diagram for my company's disaster site and it was quite fun.
So choose pay it or write it free. I did both :)
But I will now use Dia more and more. The only thing I need to find is more time to write some extra stencils for DIA.
And I say: GO DIA!