{"repo":"blitzarx1/egui_graphs","free":true,"listed":false,"github":"https://github.com/blitzarx1/egui_graphs","clone":"git clone https://github.com/blitzarx1/egui_graphs.git","description":"Interactive graph visualization widget for rust powered by egui and petgraph","language":"Rust","stars":696,"topics":["egui","graph-visualization","rust","petgraph","data-visualization","wasm"],"license":"MIT","category":"analytics","readme_excerpt":"egui graphs Graph visualization with rust and egui. The project provides a GraphView for the egui framework, enabling easy visualization of interactive graphs in rust. The goal is to implement the very basic engine for graph visualization within egui, which can be easily extended and customized for your needs. Check the web-demo for the comprehensive overview of the widget possibilities. - [x] Build wasm or native; - [x] Layouts and custom layout mechanism; - [x] Zooming and panning; - [x] Node and edge interaction reporting: click, double click, select, hover, drag; - [x] Node and Edge labels; - [x] Dark/Light theme support via egui context styles; - [x] User stroke styling hooks (node & edge) for dynamic customization; Table of Contents - Status - Examples - Features - Layouts - GraphView response - Repository organization - Run locally - Run the web demo (WASM) - Run any native example Status The project is not in active development. Feel free to fork it and tweak for your needs. Examples Basic setup example The source code of the following steps can be found in the basic example. Step 1: Setting up the BasicApp struct First, let's define the BasicApp struct that will hold the graph. Step 2: Implementing the new() function Next, implement the new() function for the BasicApp struct. Step 3: Generating the graph Create a helper function called generate graph() . In this example, we create three nodes and three edges. Step 4: Implementing the eframe::App trait Now, lets imple","default_branch":null,"files":null,"tree":[],"storefront":"/r/blitzarx1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/blitzarx1/egui_graphs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}