https://github.com/igraph/igraph-cpp
C++ wrappers for igraph data structures
https://github.com/igraph/igraph-cpp
cpp igraph wrapper
Last synced: 12 months ago
JSON representation
C++ wrappers for igraph data structures
- Host: GitHub
- URL: https://github.com/igraph/igraph-cpp
- Owner: igraph
- Created: 2023-06-29T10:30:06.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T07:26:42.000Z (over 1 year ago)
- Last Synced: 2025-03-25T07:36:16.413Z (about 1 year ago)
- Topics: cpp, igraph, wrapper
- Language: C++
- Homepage:
- Size: 130 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# igraph-cpp
This is an experimental header-only library that provides RAII wrapper for igraph's data structures. This project is in constant flux and not ready for general use!!
## Goals
- Make it more convenient to use igraph from C++.
- Provide minimal RAII wrappers for common igraph data structures, to simplify memory management.
- Provide some level of STL compatibility for igraph container types.
- Convert igraph error codes to C++ exceptions, in support of easy memory management.
## Non-goals
- Provide a full C++ wrapper to igraph's C API.
## Usage
Example programs, with explanatory comments, are found in the `examples` directory. They can be built using CMake:
```
mkdir build && cd build
cmake ..
cmake --build .
```