1 Star 0 Fork 0

mooigraph / gml4gtk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 4.08 KB
一键复制 编辑 原始数据 按行查看 历史

gml4gtk

Linux GTK+ gui program for gml or graphviz dot graph sugiyama layout algorithm.

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 kernel sparse tool and more
This program has a GNU GPL Version 3+ parser for the graphviz dot language as GLR parser and not a YACC parser
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 gcctree2gml directory has program to convert GNU GCC compiler data
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
The layout theory is described in this book
Graph Drawing And Applications For Software And Knowledge Engineers
ISBN10 9810248792 or ISBN13 9789810248796
Kozo Sugiyama, World Scientific Publishing Co Pte Ltd
K. Sugiyama, S. Tagawa and M. Toda,
"Methods for Visual Understanding of Hierarchical Systems".
IEEE Transactions on Systems, Man and Cybernetics 11(2):109-125, 1981.

This program 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, either version 3 of the License, or
(at your option) 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. If not, see http://www.gnu.org/licenses/.
SPDX-License-Identifier: GPL-3.0+
License-Filename: LICENSE

THE PARSER SOURCE CODE IN THIS PROGRAM DOES NOT HAVE THE GNU BISON SPECIAL
Free Software Foundation EXCEPTION AND IS GNU GPL FREE SOFTWARE VERSION 3+
Because of this the whole program is GNU GPL Free Software version 3+

Included copyright are
GNU BISON Parser Generator GNU GPL Copyright (C) 2021 Free Software Foundation,
GNU GCC COMPILER Copyright GNU GPL (C) 1998-2021 Free Software Foundation, Inc.
Crossing Minimization in K-layer Graphs Copyright GNU GPL (C) 2008, 2011, 2021 Matthias Stallmann
Crossing Minimization in K-layer Graphs Copyright GNU GPL (C) 2008, 2011, 2021 Saurabh Gupta.
Dietlibc embedded c library GNU GPL Felix von Leitner
Graphlet GNU GPL Free Software from Universitaet Passau 1986-1991
IGraph C, C++, R, Python graph library Copyright (C) 2021 Gabor Csardi and others
MIPT-VIS and ICDV GNU GPL Free software version 3+

GNU / Linux is user-friendly. It's just particular who its friends are :)

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

1
https://gitee.com/mooigraph/gml4gtk.git
git@gitee.com:mooigraph/gml4gtk.git
mooigraph
gml4gtk
gml4gtk
main

搜索帮助