{"id":61148,"library":"cxxgraph","title":"CXXGraph","description":"CXXGraph is a header only comprehensive C++ graph library.","status":"active","version":"4.1.0","language":"cpp","source_language":null,"source_url":null,"tags":["graph","header-only","algorithm","data-structures"],"install":[{"cmd":"vcpkg install cxxgraph","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(cxxgraph CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE CXXGraph::CXXGraph)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"CXXGraph/Graph.hpp","correct":"#include <CXXGraph/Graph.hpp>"}],"quickstart":{"code":"#include \"CXXGraph/Graph.hpp\"\n#include <iostream>\n\nint main() {\n    CXXGraph::Graph<int> g;\n    auto node1 = std::make_shared<CXXGraph::Node<int>>(1, 1);\n    auto node2 = std::make_shared<CXXGraph::Node<int>>(2, 2);\n    g.addEdge(std::make_shared<CXXGraph::UndirectedEdge<int>>(node1, node2));\n    std::cout << \"Graph has \" << g.getNodeSet().size() << \" nodes.\" << std::endl;\n    return 0;\n}","lang":"cpp","description":"Create a simple undirected graph"},"warnings":[],"env_vars":null,"search_vec":"'algorithm':15 'c':8 'comprehens':7 'cxxgraph':1,2 'data':17 'data-structur':16 'graph':9,11 'header':5,13 'header-on':12 'librari':10 'structur':18","created_at":"2026-06-17T04:40:05.322133+00:00","updated_at":"2026-06-17T04:40:05.322133+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}