Skip to content

KDE/kgraphviewer

Repository files navigation

KGraphViewer is a Graphviz DOT graph file viewer.
https://apps.kde.org/kgraphviewer
Copyright (C) 2005-2007 Gaël de Chalendar <kleag@free.fr>
    
    KGraphViewer is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public
    License as published by the Free Software Foundation, version 2 or 
    any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program; see the file COPYING.  If not, write to
    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA 02110-1301, USA.

KGraphViewer is a tool to display graphviz .dot graphs. 

It is more generally a KPart able to display any graph data that graphviz can 
handle. This part is commanded through the signals/slots mechanism. It is used
in an experimental DOT graphs editor called kgrapheditor released with in this
package.

I used, in this program, code from the profiling tool kcachegrind
 (https://kcachegrind.github.io/).
For printing, I reused code from the KDE project koffice, namely Kexi, the
database editor.

The currently implemented features are:
- graphviz 2.12 xdot format supported
- zooming
- loading of several graphs in tabs;
- saving of the recent files list;
- manual reload of files;
- display of a bird-eye view of the graph;
- moving of the graph by dragging;
- graph printing with preview;
- loading of nearly all graphviz example graphs;

Kgraphviewer is using the boost/spirit library for graphs parsing.

See TODO in the distribution for planned features.

Kgraphviewer is available as source from the KDE repository.

As usual, comments, bug reports and any help are very welcome !

Please report bugs or install problems directly on https://bugs.kde.org.

Thanks.

Kleag