{"id":18582287,"url":"https://github.com/ubpa/ugraphviz","last_synced_at":"2025-10-07T05:36:56.184Z","repository":{"id":52112707,"uuid":"269275942","full_name":"Ubpa/UGraphviz","owner":"Ubpa","description":"Ubpa Graphviz C++ wrapper","archived":false,"fork":false,"pushed_at":"2022-01-10T16:12:18.000Z","size":54,"stargazers_count":39,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T23:51:27.312Z","etag":null,"topics":["cpp","graphviz","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ubpa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-04T06:13:52.000Z","updated_at":"2025-03-30T13:43:02.000Z","dependencies_parsed_at":"2022-09-06T07:52:28.834Z","dependency_job_id":null,"html_url":"https://github.com/Ubpa/UGraphviz","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/Ubpa/UGraphviz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ubpa%2FUGraphviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ubpa%2FUGraphviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ubpa%2FUGraphviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ubpa%2FUGraphviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ubpa","download_url":"https://codeload.github.com/Ubpa/UGraphviz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ubpa%2FUGraphviz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278724334,"owners_count":26034777,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cpp","graphviz","wrapper"],"created_at":"2024-11-07T00:10:25.463Z","updated_at":"2025-10-07T05:36:56.156Z","avatar_url":"https://github.com/Ubpa.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UGraphviz\n**U**bpa **Graphviz** C++ wrapper\n\n⭐ Star us on GitHub — it helps!\n\n[![repo-size](https://img.shields.io/github/languages/code-size/Ubpa/UGraphviz?style=flat)](https://github.com/Ubpa/UGraphviz/archive/master.zip) [![tag](https://img.shields.io/github/v/tag/Ubpa/UGraphviz)](https://github.com/Ubpa/UGraphviz/tags) [![license](https://img.shields.io/github/license/Ubpa/UGraphviz)](LICENSE) \n\n## Example\n\n```c++\n#include \u003cUGraphviz/UGraphviz.hpp\u003e\n\n#include \u003ciostream\u003e\n\nusing namespace Ubpa;\n\nusing namespace std;\n\nint main() {\n  UGraphviz::Graph graph(\"hello world\", true);\n\n  auto\u0026 registry = graph.GetRegistry();\n\n  auto v_a = registry.RegisterNode(\"a\");\n  auto v_b = registry.RegisterNode(\"b\");\n  auto v_c = registry.RegisterNode(\"c\");\n  auto v_d = registry.RegisterNode(\"d\");\n\n  auto e_ab = registry.RegisterEdge(v_a, v_b);\n  auto e_ac = registry.RegisterEdge(v_a, v_c);\n  auto e_bd = registry.RegisterEdge(v_b, v_d);\n  auto e_cd = registry.RegisterEdge(v_c, v_d);\n\n  graph\n    .AddEdge(e_ab)\n    .AddEdge(e_ac)\n    .AddEdge(e_bd)\n    .AddEdge(e_cd);\n\n  cout \u003c\u003c graph.Dump() \u003c\u003c endl;\n\n  return 0;\n}\n```\n\nResult is\n\n```\nstrict digraph \"hello_world\" {\n  \"a\" -\u003e \"b\"\n  \"a\" -\u003e \"c\"\n  \"b\" -\u003e \"d\"\n  \"c\" -\u003e \"d\"\n}\n```\n\n![Alt text](https://g.gravizo.com/source/gravizo_mask_result?https%3A%2F%2Fraw.githubusercontent.com%2FUbpa%2FUGraphviz%2Fmaster%2FREADME.md)\n\n\u003cdetails\u003e  \n\u003csummary\u003eresult graphviz source code\u003c/summary\u003e\ngravizo_mask_result\ndigraph hello_world {\n  \"a\" -\u003e \"b\"\n  \"a\" -\u003e \"c\"\n  \"b\" -\u003e \"d\"\n  \"c\" -\u003e \"d\"\n}\ngravizo_mask_result\n\u003c/details\u003e\n\n**other example**\n\n- [attribute](src/test/01_attr/main.cpp)\n- [subgraph](src/test/02_subgraph/main.cpp)\n- [port](src/test/03_port/main.cpp)\n\n## Licensing\n\nYou can copy and paste the license summary from below.\n\n```\nMIT License\n\nCopyright (c) 2020 Ubpa\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubpa%2Fugraphviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubpa%2Fugraphviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubpa%2Fugraphviz/lists"}