Skip to content

Commit

Permalink
Configurable example -> Demo (#190)
Browse files Browse the repository at this point in the history
Renane Configurable -> Demo
Use new version of fdg
Refactor
  • Loading branch information
blitzarx1 authored Jul 17, 2024
1 parent 7e0728e commit b167e49
Show file tree
Hide file tree
Showing 6 changed files with 376 additions and 186 deletions.
203 changes: 156 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions examples/configurable/README.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/configurable/Cargo.toml → examples/demo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "configurable"
name = "demo"
version = "0.1.0"
authors = ["Dmitrii Samsonov <[email protected]>"]
license = "MIT"
Expand All @@ -11,6 +11,6 @@ egui = "0.27"
eframe = "0.27"
serde_json = "1.0"
petgraph = "0.6"
fdg-sim = "0.9"
fdg = { git = "https://github.com/grantshandy/fdg" }
rand = "0.8"
crossbeam = "0.8"
7 changes: 7 additions & 0 deletions examples/demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Demo
Demo example allows to alter settings of the `GraphView` widget and see the results immediately. This example also demonstrates the usage of force-directed graph layout implemented on client side with interactive control as well.

## run
```bash
cargo run --release -p demo
```
Loading

0 comments on commit b167e49

Please sign in to comment.