{"id":15048046,"url":"https://github.com/zigrazor/cxxgraph","last_synced_at":"2025-04-14T17:03:25.536Z","repository":{"id":38086435,"uuid":"273547783","full_name":"ZigRazor/CXXGraph","owner":"ZigRazor","description":"Header-Only C++ Library for Graph Representation and Algorithms","archived":false,"fork":false,"pushed_at":"2024-10-10T05:57:05.000Z","size":73191,"stargazers_count":463,"open_issues_count":54,"forks_count":113,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-10-30T05:57:46.462Z","etag":null,"topics":["algorithm","algorithms","bfs-algorithm","cpp","cpp-library","cpp17","cycle-detection","dfs-algorithm","dijkstra-algorithm","graph","graph-algorithms","graph-analysis","graph-theory-algorithms","hacktoberfest","hacktoberfest-accepted","header-only","machine-learning","partitioning","partitioning-algorithms","search-algorithm"],"latest_commit_sha":null,"homepage":"https://zigrazor.github.io/CXXGraph/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZigRazor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T17:11:45.000Z","updated_at":"2024-10-26T14:24:15.000Z","dependencies_parsed_at":"2023-10-03T16:25:15.321Z","dependency_job_id":"1c91bbff-0ed9-4510-838b-76f58587af96","html_url":"https://github.com/ZigRazor/CXXGraph","commit_stats":{"total_commits":486,"total_committers":47,"mean_commits":"10.340425531914894","dds":"0.33127572016460904","last_synced_commit":"33dff884e9cd10bb73cf31ddeb3d9f32f4435412"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigRazor%2FCXXGraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigRazor%2FCXXGraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigRazor%2FCXXGraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZigRazor%2FCXXGraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZigRazor","download_url":"https://codeload.github.com/ZigRazor/CXXGraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923722,"owners_count":21183951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","algorithms","bfs-algorithm","cpp","cpp-library","cpp17","cycle-detection","dfs-algorithm","dijkstra-algorithm","graph","graph-algorithms","graph-analysis","graph-theory-algorithms","hacktoberfest","hacktoberfest-accepted","header-only","machine-learning","partitioning","partitioning-algorithms","search-algorithm"],"created_at":"2024-09-24T21:07:31.490Z","updated_at":"2025-04-14T17:03:25.503Z","avatar_url":"https://github.com/ZigRazor.png","language":"C++","readme":"\u003cimg style=\"float: right;\" align=\"left\" src=\"https://raw.github.com/ZigRazor/CXXGraph/master/logos/CXXGraph.gif\"\u003e\n\n# CXXGraph\n\n\u003cimg src=\"https://img.shields.io/badge/c++%20-%2300599C.svg?\u0026style=for-the-badge\u0026logo=c%2B%2B\u0026ogoColor=white\"/\u003e \u003cimg src=\"https://img.shields.io/badge/github%20-%23121011.svg?\u0026style=for-the-badge\u0026logo=github\u0026logoColor=white\"/\u003e\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5878831.svg)](https://doi.org/10.5281/zenodo.5878831)\n\n[![DOI](https://img.shields.io/badge/doi-10.6084/m9.figshare.18705572-blue.svg?style=flat\u0026labelColor=gainsboro\u0026logoWidth=40\u0026logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAFAAAAAZCAYAAACmRqkJAAAKi0lEQVR4Ae3ZaVBUV97H8evuE0EfH32MmkcfoyAuGjXKgkvMaFRAFuiloemWvRuEXlgEBREXBYJiXAQUFeKocUniQiKogAJhQWwWENDEjLNYvjFLzUzNkplEZb5kTme6nCRjKlOpSZlb9SmL2%2Ffcuv3re87%2FnKP0TYfOcslqPMbt63xBKuh09MTxgi7HKT1Sj1TvKp%2BMkZB6%2FXT8c4AjUYPyVdfb7Qs6HTIJ8EHe7Ul%2B152CphDabRQ0uMr7%2FRQgh%2B8qU6%2FBiPDVGv0jq0uGE94b0ZZ3j%2B25MTetoMsh%2FWD91OBqT9%2Fsehd5EqGV17nKMzTqOHvaRMMLEp7qACfinq%2FW1BBx5ZxB13x5X3Jr1v%2Fz9pUcaHU63PiicjrhvXfNRbY1Th49Q6Y1vu6zyqSjzX3aVIgf4OkKToxhgxpd5OMzV0bYE4CRN1Chu34pnTfwnV03FiTlfzDRXBHo6dfgIq8sX6ByV6vjthGc0UdrrPPVGFQBxlSjzJQWENVUZkebceiLpyM8IZSx7O7Zl4JivUNMZX5h8Rt4%2B2L0llKfgu6JKa%2BXvpB5bZ48%2Ba3F6lil2pDkE2rODzCsU0VUnNFHNZQqdS3lx3Utl%2FMILQcfYt5TEeC1GSprgAq0XlgYGLQyxJTlr0uK0DVX7E5s2ZtOgHvLw5fLK9xVmcqguEj%2F2LXbwsvPBkZZKl4j5NcIKinaUsLbejFWZ7m8Do2cmwnb4cFqArRwx3TEYzi%2Bz7DTD0uhxnj8cAEWWUZK%2BTcdhh4pmTWUsW01Y1uCUmNY7Rtqzo5svJSS0poVXtg6yVj7sn9qunek3j8xPVXXeMFoaDkev6lDF7ene7Y5r2taNAXmEBXaP69zevaOjuUeeZ0zhzJuPsM5CdYvOhZVqBMhBqIVDt8zwGdQjR4of9AA%2BXJjUFpww7GodnHAQca4srDAWCXjW3pETal%2BbfumuOLKqSm17vIQtWr1Uu3JYy6JbXuXFbRN1R8pm5byxtG5CcdOz9EUVc7I5IeQEWQ7wWVwzwrsRn%2BbAFeiCxNsKv5Y9P03BFgjAlT90AGOQy2T47fObl00ocFZHl%2B2UGXw0RjzNUWHTPFthckHWh18al8KsGuaFigVVzlKuY%2BG9z37qvuoGlelpsJVldrgrFjbOE%2BeWe8uW18W84qCqc4s7tmCIgzI75hs%2FaJKNFu7rF%2BIIIhr%2BmIQ%2Btn8LQkDMQOeWAYnDHgsQI3NNU7W9j4h5t72o%2FEyvLEQ%2F%2Bu7ymzbOxbCAeOxAgtghz6YgOVYiufEOUlqu0M37ho%2BYn%2FnpJT8bsejVSt90uqdFdlGmV7hF7cuWXetNCShLX%2BI3nKhN%2ByvCs%2Bs6GQpWB33fzKNQR%2BqWr022yvc94q7spBCY%2Bbzkou6ZfJNPf89ZN%2FdidYHnIsKfIzjCMIc7MAwSJiMPFxGMcKQixGwx07R%2FiEe4CNsxFCbAJvwifj8LkIgYRHa8Lm47jNY8AokmMS5NryPh%2FijOB%2BOX4h7foEuyPHlisMtylJpzu1YspkQ36YbLqnx8F1X4abaqmYs9DGmLlrk4CE9XlHlKZskxfpt%2FUJLzyhV23dG%2BITF72fqo9njEaokwIu8lSbG1N4wx273CrP%2B%2BjniQVZhGrzQjlEioFIRcjDM6MIdjBVtHogvl4W9qIX8sTfwU5SgU%2FzdhdGYLcJ9BzvRID6vgx2SxN8PUI9KnIEWH4n7FuIo%2FoRfYV5vMMV4wHRFs%2BvG%2FKl05ZrDVdP11T7eulK3oNQcz%2FAXcj3DpMePjO44KetDL2lDh%2FmV1S3nNoeWnJb7RSXmMJl%2BI0GmH13rKs8lvEdQwfoWKmCxdmGbAEdgAW5jFiQhBb8WXSYTPSjGCBHaMPR5LMANkOCM%2B%2FgD3MS5Z8W1ElzwW3HNJCSI9tcw2ub%2BO8T5LPTBQBy1nusNcB7ztximI1sIsSSzXb04v3vyusJmx63nMufHXlV6LvpEShDd9x%2FHFYWXVPuSX7%2FD7zmpcjuWRupbyvaHnj8Z7BNsUFCArm70iTRcd5bFEN7oxwJs%2FpoA%2FwfBaLJ2Z2EFbmEsNKL7fYYPUI9DIqj%2Fsgkw0CasW%2BL6RbBDFI7gTZSKzz6Gk02AJ23G3QF4xybYU8INce6s5CJNlTyXhYwKv%2FRWMiEeimquzIhrPpGzuSNCsbvLec2%2Brpmh2e0yu%2FxOp96wv6p8X0xeIZW5Bo2%2F6ucdvb%2FdMWVDm8lX11pRpD16OJ6VyZsrQ8yK%2BVFJ9h4UhwEHDj5JgGE23UkSfoZujMMzSESNCPBT9KAFjqi2rcIYZRPgYmzDQ9xDLSz4%2FGsCPIE%2BNkWrTJy%2FhRrRthpVyJJExbnmG2I%2B6x%2BT%2FHxYyQkzQfJGlufpWy6bYlvPUEgu%2BHlHJA5boo7rE3blnBR7r6mv%2BvCBMYEag%2Faqsyr1%2BIk5a%2Fd2z9zGBDpZ31qulCWk9443Hfg5BuJJAgxAG0ZBEmS4DZ7RKIliMVi0d8UvRUCeuPoNAf4Z%2FmgV13pAwiwR3iffFKBQJM5noB%2F6Y5h45v7Wwf0cDtD1DlMIeiugWmZOy5Cv3RgjX7%2FF4GdMXasOjgurmqdafqpojltml9IjvOJ8NMu9lNL5gQmXdMu0BTefz8loMyoJvivs3VMZvhpjqaig%2FZ8gwJGYIsIKRh%2FY4wh%2Bg%2FGQoxYbREgZ%2BB3uww1V3xKgN%2BrwCNtF4Pvx8NveQCEYX%2BAukhCIYuHZLy%2FyDjHbJQfo7PTK1dEBWqPBX2vS%2B2hNW1XquDURypiwXStCjVWuyrSKQC%2FdoUaHtOT2HENoyal4b40x7rK7ylip9NIV3Jy0P6fD24fl3Ra6uoe3PNqOH2Pw3x%2FC8K8CHIU%2BIpQ7OI8yNOJ9TMJO%2FAU9Nn6PjRiGmm%2FpwgsRLQpKjwjuU%2Fz1CQK0R4G4T4%2FwCHWYKlmcA6xr4SA2EzobXeUa9vh21LgpdKxK8hqd5RsaXWS7S9YvlhU2O7ya3ekXrm%2B9lK3KzFH6a4y5V92Ve5hkM4d02EShMestZekE2IxZX7MWdkAgBtmsi9U2lXEwliAOK%2BGLTowThWIZkrEVSSKYgegPOUxwtFmdaBGLsRgg2qeKtosQDh2GYzbisUIEaPvcQ8T5VGzCKowBk2I3mTVALe4wd4tumKcoaZirSKte4RtVrvXwLrw%2BJXV%2F18Ts3BtLEmOaS0yRtRdMfpGJhTKNMbDJWR5V7eEbUNDtcIQAd1PJMwnuJl6E9KQHY7AAHkzQoBkj8B%2B%2FpTWQ4Maezne1P3x1esLBuqmB%2BbccNhJMGetbM%2BGZIi1V%2FoRyOXB77sKVWuPmrd4RBvYQm9ihVue%2F7xDPGljB50MoJmO%2By36gCGsQovCyCGwOarD9R7PLLXZOJjKZvse%2FDQQSvffG7F1rWrZPiLKUX2DPr1hbfHAKb0kDBSeTed5MQj94Pn1xBMvA%2B2IDYTAkcXzXANPRjHq04ACeFeH9aAIcBC3LOq%2FY5pPDeYtO4yRTmzUhbx9LozCEea8ybaHoxDNmVtPltxSVzxhCm3Asg4Tvs683Aa5wwkD8qP9XbgQqUbb6Tp09U5Os3rWiV4jZv2OuvxPdvht70RfST8fjATZd7P33OYzxZ%2FdF7FwcgqPU0yMR2vMYDulpDfBvw%2BGCdBePpq8AAAAASUVORK5CYII%3D)](https://doi.org/10.6084/m9.figshare.18705572.v1)\n\n[![codecov](https://codecov.io/gh/ZigRazor/CXXGraph/branch/master/graph/badge.svg?token=773AQ2H9RQ)](https://codecov.io/gh/ZigRazor/CXXGraph)\n[![CodeFactor](https://www.codefactor.io/repository/github/zigrazor/cxxgraph/badge)](https://www.codefactor.io/repository/github/zigrazor/cxxgraph)\n\n[![GitHub license](https://img.shields.io/github/license/ZigRazor/CXXGraph.svg)](https://github.com/ZigRazor/CXXGraph/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/ZigRazor/CXXGraph.svg)](https://GitHub.com/ZigRazor/CXXGraph/releases/)\n\n[![Generic badge](https://img.shields.io/badge/Required-G++7.3.0-Green.svg)](https://shields.io/) [![Generic badge](https://img.shields.io/badge/required-C++17-Green.svg)](https://shields.io/) [![Generic badge](https://img.shields.io/badge/Required-CMake3.9-Green.svg)](https://shields.io/)\n\n[![Generic badge](https://img.shields.io/badge/Build-Passed-Green.svg)](https://shields.io/) [![Generic badge](https://img.shields.io/badge/UnitTest-Passed-Green.svg)](https://shields.io/)\n\n\u003cbr/\u003e\u003cbr/\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\n## Introduction\n**CXXGraph** is a comprehensive C++ library that manages graph algorithms. This header-only library serves as an alternative to the [Boost Graph Library (BGL)](https://www.boost.org/doc/libs/1_77_0/libs/graph/doc/index.html).\n\n## We are Looking for...\n\n**We are looking for:**\n\n- **A Web Developer** for the development of the CXXGraph website. All documentation is currently hosted on this GitHub page.\n- **Developers and Contributors** to provide input. If you are new to the open-source world, we will guide you step by step!\n\nIf you are interested, please contact us at zigrazor@gmail.com or contribute to this project. We are waiting for you!\n\n## Roadmap\n\n| Completed | Description | Date of Completition |\n| :-------: | :---------- | :-------------------: |\n| :heavy_check_mark: | Release 0.4.0 | Oct 7, 2022 |\n| :heavy_check_mark: | Release 0.5.0 | Mar 23, 2023 |\n| :heavy_check_mark: | First Stable Release 1.0.0 | Mar 28, 2023 |\n| :heavy_check_mark: | Release 1.0.1 | May 7, 2023 |\n| :heavy_check_mark: | Release 1.1.0 | May 8, 2023 |\n| :heavy_check_mark: | Stable Release 2.0.0 | Jun 1, 2023 |\n| :heavy_check_mark: | Stable Release 3.0.0 | Nov 3, 2023 |\n| :heavy_check_mark: | Release 3.1.0 | Jan 9, 2023 |\n| :memo: | Introduce Hypergraph [#122](https://github.com/ZigRazor/CXXGraph/issues/122) | TBD |\n| :memo: | Stable Release 4.0.0 | TBD |\n\n## Table of Contents\n\n- [CXXGraph](#cxxgraph)\n  - [Introduction](#introduction)\n  - [Hacktoberfest 2k22](#hacktoberfest-2k22)\n  - [We are Looking for...](#we-are-looking-for)\n  - [Roadmap](#roadmap)\n  - [Table of Contents](#table-of-contents)\n  - [Install and Uninstall](#install-and-uninstall)\n    - [Install Linux Tarballs](#install-linux-tarballs)\n    - [Install RPM](#install-rpm)\n    - [Install DEB](#install-deb)\n    - [Install From Source](#install-from-source)\n  - [Classes Explanation](#classes-explanation)\n  - [Requirements](#requirements)\n  - [How to use](#how-to-use)\n  - [Example](#example)\n  - [Unit-Test Execution](#unit-test-execution)\n    - [Google Test Installation](#google-test-installation)\n    - [How to Compile Test](#how-to-compile-test)\n    - [How to Run Test](#how-to-run-test)\n  - [Benchmark Execution](#benchmark-execution)\n    - [Google Benchmark Installation](#google-benchmark-installation)\n    - [How to Compile Benchmark](#how-to-compile-benchmark)\n    - [How to Run Benchmark](#how-to-run-benchmark)\n    - [Benchmark Results](#benchmark-results)\n  - [Packaging](#packaging)\n    - [Tarballs](#tarballs)\n    - [RPM](#rpm)\n      - [(Fedora/CentOS/RedHat)](#fedoracentosredhat)\n    - [DEB](#deb)\n      - [(Debian/Ubuntu)](#debianubuntu)\n  - [Algorithm Explanation](#algorithm-explanation)\n    - [Dijkstra](#dijkstra)\n    - [Dial](#dial)\n    - [Prim's Algorithm](#prims-algorithm)\n    - [BFS](#bfs)\n    - [DFS](#dfs)\n    - [Best First Search](#best-first-search)\n    - [Cycle Detection](#cycle-detection)\n    - [Bellman-Ford](#bellman-ford)\n    - [Floyd Warshall](#floyd-warshall)\n    - [Transitive Reduction](#transitive-reduction)\n    - [Kruskal Algorithm](#kruskal-algorithm)\n    - [Borůvka's Algorithm](#borůvkas-algorithm)\n    - [Graph Slicing based on connectivity](#graph-slicing-based-on-connectivity)\n    - [Ford-Fulkerson Algorithm](#ford-fulkerson-algorithm)\n    - [Kosaraju's Algorithm](#kosarajus-algorithm)\n    - [Kahn's Algorithm](#kahns-algorithm)\n  - [Partition Algorithm Explanation](#partition-algorithm-explanation)\n    - [Vertex-Cut](#vertex-cut)\n    - [Edge Balanced Vertex-Cut](#edge-balanced-vertex-cut)\n    - [Greedy Vertex-Cut](#greedy-vertex-cut)\n    - [HDRF](#hdrf)\n    - [EBV](#ebv)\n  - [How to contribute](#how-to-contribute)\n  - [Site](#site)\n  - [Contact](#contact)\n  - [Support](#support)\n  - [References](#references)\n  - [Credits](#credits)\n  - [Contributors](#contributors)\n  - [Cite Us](#cite-us)\n  - [Hacktoberfest 2k21](#hacktoberfest-2k21)\n  - [Other Details](#other-details)\n  - [Author](#author)\n\n\n## Install and Uninstall\n\n### Install Linux Tarballs\n\nTo install on Unix/Linux systems, execute the following from the command line:\n\n`$ sudo tar xjf CXXGraph-{version}.tar.bz2`\n\nTo uninstall:\n\n`$ sudo rm -f /usr/include/Graph.hpp /usr/include/CXXGraph*`\n\n### Install RPM\n\nTo install on Fedora/CentOS/RedHat systems, execute the following from the command line:\n\n`$ sudo rpm -ivh CXXGraph-{version}.noarch.rpm`\n\nTo uninstall:\n\n`$ sudo rpm -e CXXGraph-{version}`\n\n### Install DEB\n\nTo install on Debian/Ubuntu systems, execute the following from the command line:\n\n`$ sudo dpkg -i CXXGraph_{version}.deb`\n\nTo uninstall:\n\n`$ sudo apt-get remove CXXGraph`\n\n### Install From Source\n\nFor self-compiled installations using CMake, execute the following from the command line once compilation is complete:\n\n`$ sudo make install`\n\n## Classes Explanation\n\nThe Classes Explanation can be found in the [Classes Section](https://rawcdn.githack.com/ZigRazor/CXXGraph/master/docs/html/classes.html) of the [Doxygen Documentation](https://rawcdn.githack.com/ZigRazor/CXXGraph/master/docs/html/index.html)\n\n## Prerequisites\n\n- The minimum C++ standard required is **C++17** \n- A GCC compiler version 7.3.0 and later *OR* a MSVC compiler that supports C++17\n\n## How to use\n\nTo use the library **simply put the header file where you need it.** It's that easy!\n\n## Example\n\nWork in Progress\n\n## Unit-Test Execution\n\nThe Unit-Test requires CMake 3.9 and later, and the **[GoogleTest](https://github.com/google/googletest)**  library.\n\n### Install GoogleTest\n\n[GoogleTest](https://github.com/google/googletest)\n\n```bash\ngit clone https://github.com/google/googletest.git\ncd googletest        # Main directory of the cloned repository\nmkdir -p build       # Create a directory to hold the build output\ncd build\ncmake ..             # Generate native build scripts for GoogleTest\nmake                 # Compile\nsudo make install    # Install in /usr/local/ by default\n```\n\n### How to Compile GoogleTest\n\nFrom the base directory:\n\n```bash\nmkdir -p build       # Create a directory to hold the build output\ncd build             # Enter the build folder\ncmake -DTEST=ON ..   # Generate native build scripts for GoogleTest,\nmake                 # Compile\n```\n\n### How to Run GoogleTest\n\nAfter the build has compiled, run the \"test_exe\" executable in the \"build\" directory with the following command: \n\n`./test_exe`\n\n## Benchmark Execution\n\nThe Benchmark requires CMake 3.9 and later, the **GoogleTest** library, and the **Google Benchmark** library.\n\n### Install Google Benchmark\n\n[Google Benchmark](https://github.com/google/benchmark)\n\n```bash\n# Check out the library\n$ git clone https://github.com/google/benchmark.git\n# Google Benchmark requires GoogleTest as a dependency. Add the source tree as a subdirectory\n$ git clone https://github.com/google/googletest.git benchmark/googletest\n# Go to the library's root directory\n$ cd benchmark\n# Make a build directory to place the build output\n$ cmake -E make_directory \"build\"\n# Generate the build system files with CMake\n$ cmake -E chdir \"build\" cmake -DCMAKE_BUILD_TYPE=Release ../\n# If starting with CMake 3.13, you can use the following:\n# cmake -DCMAKE_BUILD_TYPE=Release -S . -B \"build\"\n# Build the library\n$ cmake --build \"build\" --config Release\n# Install the library\n$ sudo cmake --build \"build\" --config Release --target install\n```\n\n### How to Compile Google Benchmark\n\nFrom the base directory:\n\n```bash\nmkdir -p build             # Create a directory to hold the build output\ncd build                   # Enter the build folder\ncmake -DBENCHMARK=ON ..    # Generate native build scripts for Google Benchmark\nmake                       # Compile\n```\n\n### How to Run Google Benchmark\n\nAfter the build has compiled, run the \"benchmark\" executable in the \"build\" directory with the following command: \n\n`./benchmark`\n\n### Benchmark Results\n\nYou can check the benchmark result using this [link](https://zigrazor.github.io/CXXGraph/dev/bench/).\n\n## Packaging\n\n### Tarballs\n\nTo create a tarball package, execute the following from the command line:\n\n```bash\n# Enter Packaging Directory\n$ cd packaging\n# Execute the script to generate tarballs\n$ ./tarballs.sh\n```\n\n### RPM\n\n#### (Fedora/CentOS/RedHat)\n\nTo create an RPM package, execute the following from the command line:\n\n```bash\n# Enter Packaging Directory\n$ cd packaging/rpm\n# Execute the script to generate tarballs\n$ ./make_rpm.sh\n```\n\n### DEB\n\n#### (Debian/Ubuntu)\n\nTo create a deb package, execute the following from the command line:\n\n```bash\n# Enter Packaging Directory\n$ cd packaging/deb\n# Execute the script to generate tarballs\n$ ./make_deb.sh\n```\n\n## Algorithm Explanation\n\n### Dijkstra\n\n[Graph Dijkstras Shortest Path Algorithm(Dijkstra's Shortest Path)](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm)\n**[Dijkstra's Algorithm]**(https://www.interviewbit.com/blog/find-shortest-path-dijkstras-algorithm/) is used to find the shortest path from a source node to all other reachable nodes in the graph. The algorithm initially assumes all the nodes are unreachable from the given source node so we mark the distances of all nodes as infinity.\n(infinity) from source node (INF / infinity denotes unable to reach).\n\n### Dial\n\nDial specialization of dijkstra’s algorithm.\n\nWhen edge weights are small integers (bounded by a parameter *C*), specialized queues which take advantage of this fact can be used to speed up Dijkstra's algorithm. The first algorithm of this type was Dial's algorithm (Dial 1969) for graphs with positive integer edge weights, which uses a bucket queue to obtain a running time\n*O(|E|+|V|C)*.([source wikipedia](https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm#Specialized_variants))\n\nBelow is complete algorithm:\n\n 1. Maintains some buckets, numbered 0, 1, 2,…,wV.\n 2. Bucket k contains all temporarily labeled nodes with distance equal to k.\n 3. Nodes in each bucket are represented by list of vertices.\n 4. Buckets 0, 1, 2,..wV are checked sequentially until the first non-empty bucket is found. Each node contained in the first non-empty bucket has the minimum distance label by definition.\n 5. One by one, these nodes with minimum distance label are permanently labeled and deleted from the bucket during the scanning process.\n 6. Thus operations involving vertex include:\n    - Checking if a bucket is empty\n    - Adding a vertex to a bucket\n    - Deleting a vertex from a bucket.\n 7. The position of a temporarily labeled vertex in the buckets is updated accordingly when the distance label of a vertex changes.\n 8. Process repeated until all vertices are permanently labeled (or distances of all vertices are finalized).\n\nAt this [link](https://ocw.mit.edu/courses/sloan-school-of-management/15-082j-network-optimization-fall-2010/animations/MIT15_082JF10_av07.pdf) you can find a step-by-step illustrations.\n\n### Prim's Algorithm\n\n[Prim's Algorithm](https://en.wikipedia.org/wiki/Prim%27s_algorithm)\nPrim's Algorithm is is a greedy algorithm that finds a minimum spanning tree for a weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized. The algorithm operates by building this tree one vertex at a time, from an arbitrary starting vertex, at each step adding the cheapest possible connection from the tree to another vertex.\n\nSteps:\n\n1. Initialize a tree with a single vertex, chosen arbitrarily from the graph.\n2. Grow the tree by one edge: of the edges that connect the tree to vertices not yet in the tree, find the minimum-weight edge, and transfer it to the tree.\n3. Repeat step 2 (until all vertices are in the tree).\n\n### BFS\n\n(Breadth First Search)\n[Breadth First Search Algorithm(Breadth First Search)](https://en.wikipedia.org/wiki/Breadth-first_search)\n**Breadth First Search**, also quoted as **BFS**, is a Graph Traversal Algorithm. Time Complexity O(|V| + |E|) where V are the number of vertices and E are the number of edges in the graph.\nApplications of Breadth First Search are :\n\n 1. Finding shortest path between two vertices say u and v, with path length measured by number of edges (an advantage over depth first search algorithm)\n 2. Ford-Fulkerson Method for computing the maximum flow in a flow network.\n 3. Testing bipartiteness of a graph.\n 4. Cheney's Algorithm, Copying garbage collection.\n\n  And there are many more...\n\n### DFS\n\n(Depth First Search)\n[Depth First Search Algorithm (Depth First Search)](https://en.wikipedia.org/wiki/Depth-first_search)\n**Depth First Search**, also quoted as **DFS**, is a Graph Traversal Algorithm. Time Complexity O(|V| + |E|) where V is number of vertices and E is number of edges in graph.\nApplication of Depth First Search are:\n\n  1. Finding connected components\n  2. Finding 2-(edge or vertex)-connected components.\n  3. Finding 3-(edge or vertex)-connected components.\n  4. Finding the bridges of a graph.\n  5. Generating words in order to plot the limit set of a group.\n  6. Finding strongly connected components.\n\n  And there are many more...\n\n### Best First Search\n\n[Best First Search](https://en.wikipedia.org/wiki/Best-first_search)\nBest First Search is a class of search algorithms which traverses the graph by exploring the most promising node chosen according to an evaluation function. The worst-case time complexity is O(n * log n) where n is the number of nodes in the graph.\n\n### Cycle Detection\n\n[Cycle (graph theory)](https://en.wikipedia.org/wiki/Cycle_(graph_theory))\n\nThe existence of a cycle in directed and undirected graphs can be determined by whether depth-first search (DFS) finds an edge that points to an ancestor of the current vertex (it contains a back edge). All the back edges which DFS skips over are part of cycles. In an undirected graph, the edge to the parent of a node should not be counted as a back edge, but finding any other already visited vertex will indicate a back edge. In the case of undirected graphs, only O(n) time is required to find a cycle in an n-vertex graph, since at most n − 1 edges can be tree edges.\n\nMany topological sorting algorithms will detect cycles too, since those are obstacles for topological order to exist. Also, if a directed graph has been divided into strongly connected components, cycles only exist within the components and not between them, since cycles are strongly connected.\n\nFor directed graphs, distributed message based algorithms can be used. These algorithms rely on the idea that a message sent by a vertex in a cycle will come back to itself.    Distributed cycle detection algorithms are useful for processing large-scale graphs using a distributed graph processing system on a computer cluster (or supercomputer).\n\nApplications of cycle detection include the use of wait-for graphs to detect deadlocks in concurrent systems.\n\n### Bellman-Ford\n\n[Bellman-Ford Algorithm](https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm) can be used to find the shortest distance between a source and a target node. Time Complexity O(|V| . |E|) where V is number of vertices and E is number of edges in graph which is higher than Dijkstra's shortest path algorithm. The time complexity of dijkstra's algorithm is O(|E| + |V| log |v| ). The advantage of bellman-ford over dijkstra is that it can handle graphs with negative edge weights. Further, if the graph contains a negative weight cycle then the algorithm can detect and report the presense of negative cycle.\n\n[This video](https://www.youtube.com/watch?v=24HziTZ8_xo) gives a nice overview of the algorithm implementation. This [MIT lecture](https://courses.csail.mit.edu/6.006/spring11/lectures/lec15.pdf) gives a proof of Bellman-Ford's correctness \u0026 its ability to detect negative cycles.\nApplications:\n\n- Distance‐vector routing protocol\n- Routing Information Protocol (RIP)\n- Interior Gateway Routing Protocol (IGRP)\n\n### Floyd Warshall\n\n[Floyd Warshall Algorithm](https://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm)\n\nWe initialize the solution matrix same as the input graph matrix as a first step. Then we update the solution matrix by considering all vertices as an intermediate vertex. The idea is to one by one pick all vertices and updates all shortest paths which include the picked vertex as an intermediate vertex in the shortest path. When we pick vertex number k as an intermediate vertex, we already have considered vertices {0, 1, 2, .. k-1} as intermediate vertices. For every pair (i, j) of the source and destination vertices respectively, there are two possible cases.\n\n1) k is not an intermediate vertex in shortest path from i to j. We keep the value of dist[i][j] as it is.\n2) k is an intermediate vertex in shortest path from i to j. We update the value of dist[i][j] as dist[i][k] + dist[k][j] if dist[i][j] \u003e dist[i][k] + dist[k][j]\n\n### Transitive Reduction\n\n[Transitive Reduction](https://en.wikipedia.org/wiki/Transitive_reduction)\n\nThis algorithm is used to construct a directed graph with the same reachability and satisfies transitive closure, with as few edges as possible. More concretely, it creates a minimum equivalent graph with as few edges as possible, removing \"short-circuit\" paths through the graph.\n\nThis is done by iterating through each node-pair, checking to see if two edges exist that leads out of the first node OR out of the last node, removing the node-pair edge if it exists.\n\nIn pseudocode:\nforeach x in graph.vertices\n   foreach y in graph.vertices\n      foreach z in graph.vertices\n         delete edge xz if edges xy and yz exist\n\nOur implementation has if gates that do early checking for edges in multiple places, which gives it a slightly faster runtime than the cubic pseudocode here.\n\n### Kruskal Algorithm\n\n[Kruskal Algorithm](https://en.wikipedia.org/wiki/Kruskal%27s_algorithm) can be used to find the minimum spanning forest of an undirected edge-weighted graph.  Time Complexity O(E log E) = O(E log V) where V is number of vertices and E is number of edges in graph. The main speed limitation for this algorithm is sorting the edges.\n\nFor a quick understanding of the algorithm procedure, check [this video](https://www.youtube.com/watch?v=71UQH7Pr9kU).\nSome of the real life applications are:\n\n- LAN/TV Network\n- Tour Operations\n- Water/gas pipe network\n- Electric grid\n\nOther algorithms to find the minimum spanning forest are Prim's algorithm or Borůvka's algorithm.\n\n### Borůvka's Algorithm\n\n[Borůvka's Algorithm](https://en.wikipedia.org/wiki/Bor%C5%AFvka%27s_algorithm#)  is a greedy algorithm that can be used for finding a minimum spanning tree in a graph, or a minimum spanning forest in the case of a graph that is not connected.\n\nThe algorithm begins by finding the minimum-weight edge incident to each vertex of the graph, and adding all of those edges to the forest. Then, it repeats a similar process of finding the minimum-weight edge from each tree constructed so far to a different tree, and adding all of those edges to the forest. Each repetition of this process reduces the number of trees, within each connected component of the graph, to at most half of this former value, so after logarithmically many repetitions the process finishes. When it does, the set of edges it has added forms the minimum spanning forest.\n\nBorůvka's algorithm can be shown to take O(log V) iterations of the outer loop until it terminates, and therefore to run in time O(E log V), where E is the number of edges, and V is the number of vertices in G (assuming E ≥ V).\n\n### Graph Slicing based on connectivity\n\nMathematical definition of the problem:\nLet G be the set of nodes in a graph and n be a given node in that set.\nLet C be the non-strict subset of G containing both n and all nodes reachable\nfrom n, and let C' be its complement. There's a third set M, which is the\nnon-strict subset of C containing all nodes that are reachable from any node in C'.\nThe problem consists of finding all nodes that belong to C but not to M.\n\nCurrently implemented Algorithm:\n\n- Use DFS to find all nodes reachable from n. These are elements of set C.\n- Initialize C' to be complement of C (i.e. all nodes - nodes that are in C)\n- For all nodes in C', apply DFS and get the list of reachable nodes. This is set M.\n- Finally removes nodes from C that belong to M. This is our solution.\n\nApplication:\n\nThis algorithm is used in garbage collection systems to decide which other objects need to be released, given that one object is about to be released.\n\n### Ford-Fulkerson Algorithm\n\n[Ford-Fulkerson Algorithm](https://en.wikipedia.org/wiki/Ford%E2%80%93Fulkerson_algorithm) is a greedy algorithm for finding a maximum flow in a flow network.\nThe idea behind the algorithm is as follows: as long as there is a path from the source (start node) to the sink (end node), with available capacity on all edges in the path, we send flow along one of the paths. Then we find another path, and so on. A path with available capacity is called an augmenting path.\n\n### Kosaraju's Algorithm\n[Kosaraju's Algorithm](https://en.wikipedia.org/wiki/Kosaraju%27s_algorithm) is a linear time algorithm to find the strongly connected components of a directed graph.  It is based on the idea that if one is able to reach a vertex v starting from vertex u, then one should be able to reach vertex u starting from vertex v and if such is the case, one can say that vertices u and v are strongly connected - they are in a strongly connected sub-graph. Following is an example:\n\n1). Create an empty stack ‘S’ and do DFS traversal of a graph. In DFS traversal, after calling recursive DFS for adjacent vertices of a vertex, push the vertex to stack. \n2). Reverse directions of all arcs to obtain the transpose graph. \n3). One by one pop a vertex from S while S is not empty. Let the popped vertex be ‘v’. Take v as source and do DFS (call DFSUtil(v)). The DFS starting from v prints strongly connected component of v.\n\n### Kahn's Algorithm\n[Kahn's Algorithm](https://en.wikipedia.org/wiki/Topological_sorting#Kahn's_algorithm) finds topological\nordering by iteratively removing nodes in the graph which have no incoming edges. When a node is removed from the graph, it is added to the topological ordering and all its edges are removed allowing for the next set of nodes with no incoming edges to be selected.\n### Welsh Powell Coloring Algorithms\n[Welsh Powell Coloring algorithm](https://www.geeksforgeeks.org/welsh-powell-graph-colouring-algorithm/) is a greedy vertex coloring algorithm. This algorithm is also used to find the chromatic number of a graph.\n\nWelsh Powell Algorithm consists of following steps :\n\n1. Find the degree of each vertex.\n2. List the vertices in order of descending degrees.\n3. Colour the first vertex with color 1.\n4. Move down the list and color all the vertices not connected to the coloured vertex, with the same color.\n5. Repeat step 4 on all uncolored vertices with a new color, in descending order of degrees until all the vertices are coloured.\n   Hi there, I'm creating a pull request to merge the Welsh Powell Coloring algorithm into the master branch.\n\nThe algorithm returns a std::map\u003cNode, int\u003e result that assigns each node to a color ordered by integers.\nUsers can also query the minimum chromatic order of the graph by querying the highest value from the resulting map.\n```C++\nstd::map\u003cNode, int\u003e result = graph.welshPowellColoring();\nauto chromatic_color = std::max_element(result.begin(), result.end(),\n                                [](const auto\u0026 lhs, const auto\u0026 rhs) {\n                                    return lhs.second \u003c rhs.second;\n                                }\n```\nThe minimum coloring starts from 1 instead of 0.\n\nThe algorithm assumes the graph to be undirected. All sources and inspirations are linked in the declaration of the algorithm and test cases.\n## Partition Algorithm Explanation\n\n### Vertex-Cut\n\nA vertex-cut partitioning divides edges of a graph into equal size partitions. The vertices that hold the endpoints of an edge are also placed in the same partition as the edge itself. However, the vertices are not unique across partitions and might have to be replicated (cut), due to the distribution of their edge across different partitions.\n\nReplication factor quantifies how many vertices are replicated over computers compared with the the number of vertices of the original input graph.\n\n### Edge Balanced Vertex-Cut\n\nThis Algorithm is a simple vertex-cut in Round-Robin fashion.\nIt takes the original graph edges and assign them to the partitions, dividing it in equal(or similar) size. This algorithm does not take care of optimization in vertex replication ( Replication Factor) but only balance the edge in the partitions.\n\n### Greedy Vertex-Cut\n\nGreedy partitioning algorithms uses the entire history of the edge assignments to make the next decision.\nThe algorithm stores the set of partitions A(v) to which each already observed vertex v has been assigned and the current partition sizes.\nWhen processing edge e ∈ E connecting vertices vi, vj ∈ V , the greedy algorithm follows this simple set of rules:\n\n- Rule 1: If neither vi nor vj have been assigned to a partition, then e is placed in the partition with the smallest size in P.\n- Rule 2: If only one of the two vertices has been already assigned (without loss of generality assume that vi is the assigned vertex) then e is placed in the partition with the smallest size in A(vi).\n- Rule 3: If A(vi) ∩ A(vj ) 6= ∅, then edge e is placed in the partition with the smallest size in A(vi) ∩ A(vj).\n- Rule 4: If A(vi) != ∅, A(vj ) != ∅ and A(vi)∩A(vj ) = ∅, then e is placed in the partition with the smallest size in A(vi)∪A(vj) and a new vertex replica is created accordingly.\n\n### HDRF\n\nHigh Degree (are) Replicated First(HDRF) Algorithm is a greedy vertex-cut algorithm as described by this [paper](https://www.fabiopetroni.com/Download/petroni2015HDRF.pdf).\nThis Algorithm try to optimize Replication Factor by using the history of the edge assignements amd the incremental vertex degree.\nWith a function that take in consideration this two factors calculate the best partition to assign the analyzed edge.\nThe replica created are based on the degree of the verteices, and the vertices replicated are probably a so called \"Hub-Node\", which are the vertices with higher degree.\n\n### EBV\n\nEfficient and Balanced Vertex-cut(EBV) is an offline vertex-cut algorithm as described by this [paper](https://arxiv.org/abs/2010.09007).\nThis algorithm try to balance the partitions with respect to the number of edges and vertices of each partitions and the Replication Factor.\nIt apply a formula to evaluate the partition in which assigns the edge that take into consideration also the total number of edges and vertices of the graph.\nThe evaluation formula is the following:\n\n```math\nEva(u,v)(i) =I(u ∈ keep[i]) + I(v ∈ keep[i]) +α * \\frac{ecount[i]}{(|E|/p)} + β * \\frac{vcount[i]}{(|V|/p)}\n```\n\nThe lowest value is taken as partition Id.\n\n## Network Dynamics\n\n### Degree Matrix\n\nThe Degree Matrix is a square matrix that provides insights into the connectivity of nodes in a graph. For directed graphs, it reflects the number of incoming and outgoing edges for each node, while for undirected graphs, it represents the number of edges incident to each node.\n\n### Laplacian Matrix\n\nThe Laplacian Matrix is a square matrix derived from the adjacency matrix and degree matrix of a graph. It is instrumental in analyzing various properties of the graph, such as connectedness, the count of spanning trees, and other spectral characteristics.\n\n### Transition Matrix\n\nThe Transition Matrix is commonly used in the study of Markov Chains and stochastic processes. Within the context of a graph, it denotes the probabilities of transitioning from one node to another, often based on the edge weights or predetermined criteria. This matrix finds applications in various fields such as network analysis, machine learning, and optimization.\n\n## How to contribute\n\n[![GitHub contributors](https://img.shields.io/github/contributors/ZigRazor/CXXGraph.svg)](https://GitHub.com/ZigRazor/CXXGraph/graphs/contributors/)\nIf you want to give your support you can create a ***pull request***   [![GitHub pull-requests](https://img.shields.io/github/issues-pr/ZigRazor/CXXGraph.svg)](https://GitHub.com/ZigRazor/CXXGraph/pull/) or report an ***issue***  [![GitHub issues](https://img.shields.io/github/issues/ZigRazor/CXXGraph.svg)](https://GitHub.com/ZigRazor/CXXGraph/issues/).\nIf you want to change the code, fix an issue, or implement a new feature please read our [CONTRIBUTING Guide](https://github.com/ZigRazor/CXXGraph/blob/master/CONTRIBUTING.md).\n\nIf you want to discuss new features or you have any questions or suggestions about the library, please open a [Discussion](https://github.com/ZigRazor/CXXGraph/discussions) or simply chat on [![Join the chat at https://gitter.im/CXXGraph-Community/community](https://badges.gitter.im/CXXGraph-Community/community.svg)](https://gitter.im/CXXGraph-Community/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## Stars History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=ZigRazor/CXXGraph\u0026type=Date)](https://star-history.com/#ZigRazor/CXXGraph\u0026Date)\n\n## Site\n\n[CXXGraph Site](https://zigrazor.github.io/CXXGraph/)\n\n## Contact\n\nE-mail : zigrazor@gmail.com\n\n[![Join the chat at https://gitter.im/CXXGraph-Community/community](https://badges.gitter.im/CXXGraph-Community/community.svg)](https://gitter.im/CXXGraph-Community/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n[GitHub Profile](https://github.com/ZigRazor) ![Profile views](https://gpvc.arturio.dev/ZigRazor)\n\n![ZigRazor's github stats](https://github-readme-stats.vercel.app/api?username=ZigRazor\u0026show_icons=true\u0026title_color=fff\u0026icon_color=79ff97\u0026text_color=9f9f9f\u0026bg_color=151515)\n\n## Support\n\nTo support me, add a ***Star*** to the project  [![GitHub stars](https://img.shields.io/github/stars/ZigRazor/CXXGraph.svg?style=social\u0026label=Star\u0026maxAge=2592000)](https://GitHub.com/ZigRazor/CXXGraph/stargazers/) or ***follow me***  [![GitHub followers](https://img.shields.io/github/followers/ZigRazor.svg?style=social\u0026label=Follow\u0026maxAge=2592000)](https://github.com/ZigRazor?tab=followers)\n\nTo stay updated, ***watch*** the project  [![GitHub watchers](https://img.shields.io/github/watchers/ZigRazor/CXXGraph.svg?style=social\u0026label=Watch\u0026maxAge=2592000)](https://GitHub.com/ZigRazor/CXXGraph/watchers/)\n\n## References\n\nWe are referenced by:\n\n- [awesome-hpp](https://github.com/p-ranav/awesome-hpp)\n- [cppreference.com](https://en.cppreference.com/w/cpp/links/libs)\n- [awesome-cpp](https://github.com/fffaraz/awesome-cpp)\n\n## Credits\n\nThanks to the community of [TheAlgorithms](https://github.com/TheAlgorithms) for some algorithm inspiration.\n\nThanks to [GeeksForGeeks](https://www.geeksforgeeks.org/) for some algorithm inspiration.\n\n## Contributors\n\nThank you to all the people who have already contributed to CXXGraph!\n\n[![Contributors](https://contrib.rocks/image?repo=zigrazor/CXXGraph)](https://github.com/ZigRazor/CXXGraph/graphs/contributors) \n\n## Cited By\n\n- Ruizhe Wang, Meng Xu, and N. Asokan. 2024. SeMalloc: Semantics-Informed Memory Allocator. In Proceedings of the 2024 on ACM SIGSAC Conference on Computer and Communications Security (CCS '24). Association for Computing Machinery, New York, NY, USA, 1375–1389. https://doi.org/10.1145/3658644.3670363\n\n## Cite Us\n\nIf you use this software please follow the [CITATION](https://github.com/ZigRazor/CXXGraph/blob/master/CITATION) instructions.\nThank you!\n\n## Hacktoberfest 2k21\n\nWe participated at Hacktoberfest 2021. Thank you to all the contributors!\n\n## Hacktoberfest 2k22\n\nWe participated at Hacktoberfest 2022. Thank you to all the contributors!\n\n## Hacktoberfest 2k23\n\nWe participated at Hacktoberfest 2023. Thank you to all the contributors!\n\n## Other Details\n\nView the [Estimated Value of the Project](https://www.openhub.net/p/CXXGraph/estimated_cost)\n\n## Author\n\n| [\u003cimg src=\"https://avatars0.githubusercontent.com/u/6591180?s=460\u0026v=4\" width=\"100\"\u003e\u003cbr\u003e\u003csub\u003e@ZigRazor\u003c/sub\u003e](https://github.com/ZigRazor) |\n|:----:|\n\n![footer](https://raw.github.com/ZigRazor/CXXGraph/master/logos/CXXGraph_footer.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigrazor%2Fcxxgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzigrazor%2Fcxxgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzigrazor%2Fcxxgraph/lists"}