A GTK+ gui program for automatic directed graph layout for GML graph files (Graph-Model-Language) as a GML viewer and partial dot files

Junio C Hamano 1c3d6f39c0 籼籶籪籵籵 籾籹籭籪籽籮 2 years ago
data 0539da7430 adding new pos mode 2 years ago
gcc-plugin 4c084cc9d0 gcc-11.1 plugin added 2 years ago
gml4win 4a37dfbf61 updated lexer 2 years ago
gmlt 1c3d6f39c0 籼籶籪籵籵 籾籹籭籪籽籮 2 years ago
gmltest 4d3311a943 dot html table update 2 years ago
jgf4web 702fa2443a added alloc.h 2 years ago
src 1c3d6f39c0 籼籶籪籵籵 籾籹籭籪籽籮 2 years ago
.autom4te.cfg a08e3ddb99 added compressed graph data support 2 years ago
.gitignore a28dd968ab added valgrind data files 2 years ago
Doxyfile 938bdaf2a2 added support for gcc-12 version of today 2 years ago
LICENSE 52e39a0455 sfg update 3 years ago
Makefile.am 160dc40752 updated main() with options 2 years ago
README.md 41133614ab small fix 2 years ago
README1 41133614ab small fix 2 years ago
autogen.sh f738598ecc updated Linux version 2 years ago
configure.ac 1c3d6f39c0 籼籶籪籵籵 籾籹籭籪籽籮 2 years ago
dmake 0539da7430 adding new pos mode 2 years ago
faq.md da926a5913 added bgv graph support 2 years ago
for-mygcc.sh 0539da7430 adding new pos mode 2 years ago
for-scan-build.sh 6b45d6d2ef check of analyzer check done. 2 years ago
gml4gtk.gif f381a425a9 screenshot add 3 years ago
make-gtk2.sh 912c3e895c parsing dot graph with gtk-4 file->open 2 years ago
make-gtk3.sh 0539da7430 adding new pos mode 2 years ago
make-gtk4.sh 936272bb85 update for gtk+ version 4 on fedora Linux 2 years ago
screenshot.png 6eda918841 screenshot refreshed 2 years ago
screenshot2.png a1ebe2ed85 product activation for windows users added 2 years ago

README.md

gml4gtk

Linux GTK+ gui program for gml or graphviz dot graph sugiyama layout algorithm. https://graphviewer.nl/

download gml4gtk on sourceforge

This program support partial graphviz dot, gml ,bgv or ci graph data and has own graph layout routines and does not depend on graphviz or others.
This program has a GTK+ gui interactive user interface and can be compiled for gtk-2, gtk-3 or gtk-4 using configure:
./autogen.sh
./configure --with-gtk=2
or: ./configure --with-gtk=3
or: ./configure --with-gtk=4
The gmltest directory has index.html page with javascript for syntax check of a gml graph in the browser
The jgf4web directory has index.html page with javascript for graph layout of json jgf graph data in the browser
The jgf json graph save and open feature is experimental or just may work.
The json jgf files have file extension .jgf
This program can be used with dot graph data generated by GNU GCC compiler, Bison, egypt, Linux kerne sparse tool and more
To create a callgraph using gcc use gcc option -fcallgraph-info and the output.ci graph file to open with file->open ci
Some other gcc options generating dot graph data are:
-fdump-rtl-all-graph
-fdump-tree-all-graph
-fdump-ipa-all-graph
-fdump-analyzer-callgraph
-fdump-analyzer-exploded-graph
-fdump-analyzer-state-purge
-fdump-analyzer-supergraph
The gml4win directory is a small windows graph layout program without using GTK+ libraries
The gml4gtk program can be compiled for windows using the mingw gcc compiler and needs the GTK ddl's
The node labels can be turned off in the gui and popup selected then the labels will be in a popup window which is needed for large graph drawings
The gml4gtk program supports the usage of gzip'ed input graph data files using zlib
For other details see the README1 file
clang scan-build: No bugs found.
gcc-11.2.1 -fanalyzer option: no issues

screenshot
screenshot2

SPDX-License-Identifier: GPL-3.0+
License-Filename: LICENSE

Made with ❤️️ 🇳🇱