{"id":23224042,"url":"https://github.com/junaidsalim/graph_visualization_qt_gui_cpp","last_synced_at":"2025-04-05T16:44:36.501Z","repository":{"id":216438237,"uuid":"741336845","full_name":"JunaidSalim/Graph_Visualization_Qt_GUI_cpp","owner":"JunaidSalim","description":"This program takes density and no of vertices in a graph and then displays the graph.","archived":false,"fork":false,"pushed_at":"2024-01-17T16:52:53.000Z","size":422,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T13:52:26.878Z","etag":null,"topics":["cpp","dsa","graphs","gui","qt-cpp","qt-gui","qtcreator"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JunaidSalim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-10T07:25:13.000Z","updated_at":"2024-02-11T08:20:29.000Z","dependencies_parsed_at":"2024-12-18T23:30:02.218Z","dependency_job_id":"f842bc84-5e9e-4305-9ce8-9fc246391ddf","html_url":"https://github.com/JunaidSalim/Graph_Visualization_Qt_GUI_cpp","commit_stats":null,"previous_names":["junaidsalim/graph_visualization_qt_gui_cpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JunaidSalim%2FGraph_Visualization_Qt_GUI_cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JunaidSalim%2FGraph_Visualization_Qt_GUI_cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JunaidSalim%2FGraph_Visualization_Qt_GUI_cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JunaidSalim%2FGraph_Visualization_Qt_GUI_cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JunaidSalim","download_url":"https://codeload.github.com/JunaidSalim/Graph_Visualization_Qt_GUI_cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369932,"owners_count":20927927,"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":["cpp","dsa","graphs","gui","qt-cpp","qt-gui","qtcreator"],"created_at":"2024-12-18T23:29:58.466Z","updated_at":"2025-04-05T16:44:36.457Z","avatar_url":"https://github.com/JunaidSalim.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graph_Visualization_Qt_GUI_Cpp\nThis program takes density and no of vertices in a graph and then displays the graph.\n\n\n**Introduction:**\nThis C++ program is designed as a graph analysis and visualization tool, featuring a graphical user interface (GUI) built using the Qt C++ framework. The tool generates a random graph based on user-defined parameters and provides functionalities for analyzing the graph, including degree calculation, identification of nodes with maximum and minimum degrees, display of the raw adjacency matrix, and finding neighbors of a given node.\n\n**Features:**\n1. **Graph Generation:**\n   - The program generates a random undirected graph based on user-specified parameters: the number of nodes and density.\n\n2. **Degree Analysis:**\n   - Users can inquire about the degree of a specific node, find the node with the maximum degree, and find the node with the minimum degree.\n\n3. **Adjacency Matrix Display:**\n   - The raw adjacency matrix of the generated graph can be displayed, providing a comprehensive view of the graph structure.\n\n4. **Neighborhood Identification:**\n   - Users can find the neighbors of a specified node, gaining insights into the connectivity of the graph.\n\n5. **Graphical User Interface (GUI):**\n   - The program incorporates a user-friendly GUI built with the Qt framework, enhancing the overall user experience.\n\n**Usage:**\n1. **Graph Generation:**\n   - Enter the number of nodes and desired density when prompted.\n   - The program will generate a random graph based on the provided parameters.\n\n2. **Degree Analysis:**\n   - Choose from options (a to e) to perform various degree-related analyses:\n     - a) Show Degree of a Node\n     - b) Find Node with Maximum Degree\n     - c) Find Node with Minimum Degree\n     - d) Display the Raw Adjacency Matrix\n     - e) Find Neighbors of a Given Node\n\n3. **Graphical User Interface:**\n   - The GUI enhances the visual representation and user interaction with the graph analysis tool.\n\n**Execution:**\n1. **GUI Mode:**\n   - Ensure that the Qt framework is properly installed.\n   - Compile and run the program to access the GUI.\n   - Use the GUI controls to interact with the graph and perform analyses.\n\n2. **Console Mode:**\n   - For console-based interaction, follow the prompts to enter the number of nodes and density.\n   - Use the console menu (a to e) for various analyses.\n\n**Note:**\n   - This program utilizes the `conio.h` library for getch() to capture user inputs in the console.\n\n**Example:**\n   - An example run of the program is provided to illustrate its functionalities and outputs.\n\n**Dependencies:**\n   - Qt framework for GUI (ensure proper installation).\n\n\n![g1](https://github.com/JunaidSalim/Graph_Visualization_Qt_GUI_Cpp/assets/115392538/cc141697-b75e-43fb-a6b3-1741e3a1bda0)\n![g3](https://github.com/JunaidSalim/Graph_Visualization_Qt_GUI_Cpp/assets/115392538/3f84fea1-d194-4836-a56b-e2a5f082bd40)\n![g2](https://github.com/JunaidSalim/Graph_Visualization_Qt_GUI_Cpp/assets/115392538/853bb126-eb07-46d5-a565-50b13d72b5f3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunaidsalim%2Fgraph_visualization_qt_gui_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunaidsalim%2Fgraph_visualization_qt_gui_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunaidsalim%2Fgraph_visualization_qt_gui_cpp/lists"}