Skip to content

CapelliC/graph-gtk

 
 

Repository files navigation

Copyright (c) 2012 Isaac Wagner 2012 <isaacbwagner@gmail.com>

GRAPH-GTK
=========
Graph-gtk is a library which allows easy integration of a graphical node editor in Gtk+ applications. This node editor is a custom widget which is extensible, customizable, and usable in virtually any application where the user should be able to interact with a graph via a graphical interface.

Currently graph-gtk expects underlying graphics to follow an input->output paradigm (i.e. directed graphs), however plans for the future include generalizing the structure to allow for any sort of graph.

Users of the library may write custom rendering code for every part of the graph by subclassing various classes within the library.

The developer connects to a number of signals within graph-gtk and modifies the underlying graph structure (if any) in response to those signals. The graph information can also be collected all at once, such as when the user is done constructing the graph and ready to 'build' the underlying structure. Graph-gtk is very flexible and makes no assumptions about how developers wish to use it.

COPYING
=======
See the COPYING file for license information. This license applies to all software contained herein.

MODIFICATION
=======

Forked by Capelli Carlo, as a test (and learning) case for PLGI (https://github.com/keriharris/plgi).

I hope in future I'll be able to produce a proper SWI-Prolog pack installer, using Keri' approach.
In time being, producing the typelib required by PLGI can be done (once built and installed graph-gtk)

$ g-ir-scanner --nsversion=1.0 --warn-all --pkg=graph-gtk --namespace=GraphGtk --include=Gtk-3.0 --library=graph-gtk --output GraphGtk.gir *.[ch]
$ g-ir-compiler --output=GraphGtk-1.0.typelib GraphGtk.gir

Then

$ sudo cp GraphGtk-1.0.typelib /usr/lib/girepository-1.0

About

Graph-gtk provides applications with an embedible "boxes and lines" graph editor in the form of a Gtk+ widget

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 82.6%
  • Prolog 8.2%
  • C++ 8.2%
  • Shell 1.0%