flow graphs for Gtk+ 3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
grindhold 0ee20300b7 gtkflow: fix node doc comment 4 weeks ago
data build: exterminate autotools 4 years ago
debian packaging: added old packaging scripts 3 months ago
examples finalize 0.8.0 1 month ago
libgflow merge gflowpatterns into gflow 4 weeks ago
libgtkflow gtkflow: fix node doc comment 4 weeks ago
screenshots moved example screenshot to screenshots 1 month ago
test merge gflowpatterns into gflow 4 weeks ago
.gitignore gitignore: ignore c files by default 1 year ago
.gitlab-ci.yml gitlab-ci: cd 4 years ago
LICENSE added license file 6 years ago
README.md readme: add girepository + stability 8 months ago
meson.build merge gflowpatterns into gflow 4 weeks ago
meson_options.txt build: added valadocs to meson files 🔥 5 years ago



Here you see libgtkflow, a universal library for drawing flow graphs with Gtk+ 3.


Sinks and Sources may now appear on the same line


We now have Sinks that can receive data from multiple sources!


A more recent screenshot showing off libgtkflow with Gtk > 3.20. It looks a bit clearer.


This is libgtkflow running inside firefox via broadway ↑


GtkFlow runs unter that strange M$-operating-system, too ↑


The newest stuff in libgtkflow's development ↑ Nodes can be deleted by clicking the X-button in the upper right corner. Nodes are resizable by drag-n-dropping the lower right corner. The types of the docks can be printed along with their names


This is a screenshot of libgtkflow rendered with the evopop Gtk3 theme ↑


This here is the included advanced calculator demo application ↑

Flow graphs are a possibility to let your user model flows of data from, through and into several stations.


I love Flowgraphs in other programs and i want to have them in my favourite UI-toolkit Gtk. I ran into some programs which implemented similar functionality but they all didn't feel or even look very Gtk-like/GNOMEy.

Possible Usages



  • Video Compositing (maybe PiTiVi)

  • Visualizing dependencies of objects (e.g. debian packages in apt)

  • … and whatever you can think up.


Core features are implemented and work quite well. API undergoes additions from time to time. The project is not at 1.0 yet as such, API can break but we don't expect fundamental breaking changes to core features anytime soon. If we introduce additional features, we try to offer them as additional API methods rather than changing existing ones.


Make sure you get the following Dependencies:

  • libgtk-3-dev
  • gobject-introspection (libgirepository1.0-dev)
  • meson
  • vala
  • (valadoc)

Then do the following:

$ git clone https://github.com/grindhold/libgtkflow
$ cd libgtkflow
$ mkdir build
$ cd build
$ meson ..
$ ninja
# sudo ninja install

A user of the library (thx @gavr) reported:

"I have no idea why, but on OpenSUSE Tumbleweed pkgbuild will only be able to find gtkFlow if you build it like that:"

meson _build --buildtype=release --prefix=/usr


libgtkflow supports GObject-Introspection which means you can consume it in various popular languages including but not limited to: Python, Perl, Lua, JS, PHP. I compiled some examples on how to program against the library in Python in the examples-folder.

Feel free to add examples for your favorite language.

Note: If you installed the library in /usr/local, you have to export the following environment variables for the examples to work:

export LD_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu
export GI_TYPELIB_PATH=/usr/local/lib/x86_64-linux-gnu/girepository-1.0/

Please be aware that on other architectures than amd64 you will have to change the multiarch string x86_64-linux-gnu to something else that makes sense on your machine.