{"id":24762193,"url":"https://github.com/timnekk/grapher","last_synced_at":"2025-10-11T09:31:24.441Z","repository":{"id":39970224,"uuid":"490270232","full_name":"TimNekk/Grapher","owner":"TimNekk","description":"CLI tool that works with graphs","archived":false,"fork":false,"pushed_at":"2022-05-20T13:28:32.000Z","size":494,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-18T16:24:16.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimNekk.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":"2022-05-09T12:19:30.000Z","updated_at":"2023-11-18T16:24:16.203Z","dependencies_parsed_at":"2022-08-26T06:22:30.234Z","dependency_job_id":null,"html_url":"https://github.com/TimNekk/Grapher","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2FGrapher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2FGrapher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2FGrapher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimNekk%2FGrapher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimNekk","download_url":"https://codeload.github.com/TimNekk/Grapher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236075003,"owners_count":19090865,"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":[],"created_at":"2025-01-28T19:29:01.736Z","updated_at":"2025-10-11T09:31:19.120Z","avatar_url":"https://github.com/TimNekk.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grapher\nCLI tool that works with graphs\n\n![Граф](images/graphs_icon.png)\n\n# Features\n\n- Storage and displaying graphs as:\n  - [Adjacency matrix](https://en.wikipedia.org/wiki/Adjacency_matrix)\n  - [Incidence matrix](https://en.wikipedia.org/wiki/Incidence_matrix)\n  - [Adjacency list](https://en.wikipedia.org/wiki/Adjacency_list)\n  - [Edge list](https://en.wikipedia.org/wiki/Edge_list)\n- Counting Degree, Indegree, Outdegree, Edges, Arcs\n- Input and output from console or file\n\n# Usage\n\n**There is no data validation, so beware of incorrect input!**\n\n- Input from console and file are identical\n- Input file (_input.txt_), Output file (_output.txt_)\n\n\n#### Adjacency matrix\n![Adjacency matrix](images/AdjacencyMatrix.png)\n```\n4\n0 1 0 1\n0 0 1 1\n0 1 0 0\n1 0 1 0\n```\n\n#### Incidence matrix\n![Adjacency matrix](images/IncidenceMatrix.png)\n```\n4 5\n1 0 0 1 0\n-1 1 0 0 1\n0 1 -1 0 0\n0 0 1 1 -1\n```\n\n#### Edge list\n![Edge list](images/AdjacencyList.png)\n```\n7\n1 2\n1 4\n2 3\n2 4\n3 2\n4 1\n4 3\n```\n\n#### Adjacency list\n![Adjacency list](images/EdgeList.png)\n```\n4\n2 2 4\n2 3 4\n1 2\n2 1 3\n```\n\n## Contributing\n\nBug reports and/or pull requests are welcome\n\n\n## License\n\nThe repository is available as open source under the terms of the [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnekk%2Fgrapher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimnekk%2Fgrapher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimnekk%2Fgrapher/lists"}