irun@gentoo:~

Libcgraph

Last Updated:

Overview

Disclaimer: This library was developed mainly for my personal use in current/future projects, so please take this into consideration if my way of doing things seems odd to you (of course i just could be plain wrong, in that case please feel free to let me know)

I haven’t been programming in C for a while, so this library was started partly because I wanted to freshen up on my C knowledge and also make something that I knew I would at some point find useful in the future.

As of today, it is primarily a library designed around graph-theory. Aside from the graph related data structures and algorithms, this library provides other data structures like linked list, queue and a binary heap that have been implemented primarily because of graph algorithms such as Dijstra. So in the future, it is possible that I will move those and make a new library that will serve as a C general base-layer.

Contributions

If you are interested in contributing or collaborating, please let me know through my before mentioned communication channels in the about page, or submit a pull request. I will be happy to respond :)

Documentation

You can read the user documentation here: https://codeberg.org/ragana/libcgraph/src/branch/main/docs/documentation.org

Or localy in the ./docs/ directory.

Git Repository:

Latest version is currently hosted at codeberg: https://codeberg.org/ragana/libcgraph

Licence & Warranty

==============================================================================
|                                                                            |
|                             libcgraph                                      |
|                                                                            |
|           (c) 2025 Marko Stajgar <marko.stajgar@proton.me>                 |
|                                                                            |
|   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        |
|   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 <https://www.gnu.org/licenses/>.   |
|                                                                            |
==============================================================================